fixed interpretation of command line argument "port"