use port provided in command line