use first command-line argument as port