Two Consecutive Numbers Puzzle

The Puzzle:

Two Consecutive Numbers
A Teacher thinks of two consecutive (one after the other) numbers in the range 1 to 10, and tells Alex one of the numbers and Sam the other.

Sam and Alex have the following conversation:

Alex: I don't know your number.
Sam: I don't know your number, either.
Alex: Now I know!

Can you find all 4 solutions?
Do you have the answer? Check against our solution!