diff --git a/synapse/http/endpoint.py b/synapse/http/endpoint.py index a6ebe23567b902c3c978cc66bc2f32657c12c929..6c1fdcb8536863220ef49ceb0f0a488a0a9b6a8d 100644 --- a/synapse/http/endpoint.py +++ b/synapse/http/endpoint.py @@ -50,11 +50,11 @@ def matrix_endpoint(reactor, destination, ssl_context_factory=None, if ssl_context_factory is None: transport_endpoint = TCP4ClientEndpoint - default_port = 8080 + default_port = 8008 else: transport_endpoint = SSL4ClientEndpoint endpoint_kw_args.update(sslContextFactory=ssl_context_factory) - default_port = 443 + default_port = 8448 if port is None: return SRVClientEndpoint(