     app.hub = new Hub(localURL.server, db)
     app.feed = new Feed()
     if useHTTPS
-      app.listen 443, address
+      app.listen config.port, address
       bounce.listen 80, address
     else
-      app.listen 80, address
+      app.listen config.port, address

server = config.server
address = config.address or server
useHTTPS = (if (config.key) then true else false)

localURL.server = server
localURL.protocol = (if (useHTTPS) then "https" else "http")

  server: os.hostname()
  driver: "memory"
  params: {}
  address: null,
  
if fs.existsSync(CONFIG_FILE)
  try
