summary refs log tree commit diff
path: root/synapse/http
diff options
context:
space:
mode:
authorErik Johnston <erik@matrix.org>2014-09-02 16:56:57 +0100
committerErik Johnston <erik@matrix.org>2014-09-02 16:56:57 +0100
commit235f686da965cb08eea500ea11af8b591fe9d8c8 (patch)
treebd30bf23f208947be047b37d5dcde94a5ade9bae /synapse/http
parentMerge branch 'master' of github.com:matrix-org/synapse into release-v0.2.0 (diff)
downloadsynapse-235f686da965cb08eea500ea11af8b591fe9d8c8.tar.xz
Update default endpoint port to match the default ports in the config
Diffstat (limited to 'synapse/http')
-rw-r--r--synapse/http/endpoint.py4
1 files 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(