Fixes port-forwarding bug where HTTP was getting assigned to TLS port.