Skip to content
Snippets Groups Projects
Commit 235f686d authored by Erik Johnston's avatar Erik Johnston
Browse files

Update default endpoint port to match the default ports in the config

parent 464e1fcf
No related branches found
No related tags found
No related merge requests found
......@@ -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(
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment