Remove internal use of externalPort.