allow API calls on custom ports, for docker https