Add port number to config.