aboutsummaryrefslogtreecommitdiffhomepage
path: root/server.ts
diff options
context:
space:
mode:
Diffstat (limited to 'server.ts')
-rw-r--r--server.ts5
1 files changed, 3 insertions, 2 deletions
diff --git a/server.ts b/server.ts
index 06d575c86..5323bae2b 100644
--- a/server.ts
+++ b/server.ts
@@ -194,6 +194,7 @@ app.use(function (err, req, res, next) {
194 194
195async function startApplication () { 195async function startApplication () {
196 const port = CONFIG.LISTEN.PORT 196 const port = CONFIG.LISTEN.PORT
197 const hostname = CONFIG.LISTEN.HOSTNAME
197 198
198 await installApplication() 199 await installApplication()
199 200
@@ -214,7 +215,7 @@ async function startApplication () {
214 Redis.Instance.init() 215 Redis.Instance.init()
215 216
216 // Make server listening 217 // Make server listening
217 server.listen(port) 218 server.listen(port, hostname)
218 logger.info('Server listening on port %d', port) 219 logger.info('Server listening on %s:%d', hostname, port)
219 logger.info('Web server: %s', CONFIG.WEBSERVER.URL) 220 logger.info('Web server: %s', CONFIG.WEBSERVER.URL)
220} 221}