             return servers
         } else {
             log.debug("No 'servers.json' configuration found, using defaults.")
+            let port = cliPort ?? 8080
             return [
-                "default": ("0.0.0.0", 8080, .none)
+                "default": ("0.0.0.0", port, .none)
             ]
         }
     }

    }
}


                }

                let host = config["servers", name, "host"]?.string ?? "0.0.0.0"
                let port = config["servers", name, "port"]?.int ?? cliPort ?? 8080

                servers[name] = (host, port, securityLayer)
            }
