cast port to u16 and exit, if port is not castable
it's now time to connect with TextMate