Allow overriding the port.