Make sure port is an int