put port into config.