summary refs log tree commit diff
diff options
context:
space:
mode:
authorErik Johnston <erik@matrix.org>2014-09-02 10:52:20 +0100
committerErik Johnston <erik@matrix.org>2014-09-02 10:58:33 +0100
commit08d2f902dd5c53ff78a99c1af14b16a008e28620 (patch)
tree3f8292195ee1ab21ee7b83f45ad0e1b9acc460f3
parentMake the demo listen on both HTTP and HTTPS ports (diff)
downloadsynapse-08d2f902dd5c53ff78a99c1af14b16a008e28620.tar.xz
Default HTTP and HTTPS ports to 8008 and 8448
Diffstat (limited to '')
-rw-r--r--synapse/config/server.py6
1 files changed, 4 insertions, 2 deletions
diff --git a/synapse/config/server.py b/synapse/config/server.py
index a406cc892e..de193b7ed1 100644
--- a/synapse/config/server.py
+++ b/synapse/config/server.py
@@ -41,9 +41,11 @@ class ServerConfig(Config):
         server_group.add_argument("--signing-key-path",
                                   help="The signing key to sign messages with")
         server_group.add_argument("-p", "--bind-port", metavar="PORT",
-                                  type=int, help="https port to listen on")
+                                  type=int, help="https port to listen on",
+                                  default=8448)
         server_group.add_argument("--unsecure-port", metavar="PORT",
-                                  type=int, help="http port to listen on")
+                                  type=int, help="http port to listen on",
+                                  default=8008)
         server_group.add_argument("--bind-host", default="",
                                   help="Local interface to listen on")
         server_group.add_argument("-D", "--daemonize", action='store_true',