Add port setting to configuration