Fix an incorrect warning message about port configuration.