Fix for configurable port issues.