Parse port argument as an int