Print message instead of crash on bad port

Prints a message now instead of crashing when you do something like "C
100000"