From 235f686da965cb08eea500ea11af8b591fe9d8c8 Mon Sep 17 00:00:00 2001 From: Erik Johnston Date: Tue, 2 Sep 2014 16:56:57 +0100 Subject: [PATCH] Update default endpoint port to match the default ports in the config --- synapse/http/endpoint.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/synapse/http/endpoint.py b/synapse/http/endpoint.py index a6ebe23567..6c1fdcb853 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(