Get port from command line