Fixed invalid port setting.