move port num from conf file to command arg.