diff --git a/services/web/app.coffee b/services/web/app.coffee index 854bad7931..dbf91d01de 100644 --- a/services/web/app.coffee +++ b/services/web/app.coffee @@ -35,8 +35,8 @@ if Settings.catchErrors BackgroundTasks.run() port = Settings.port or Settings.internal?.web?.port or 3000 -localInterface = Settings.interface or "0.0.0.0" -Server.server.listen port, localInterface, -> +host = Settings.internal.web.host or "localhost" +Server.server.listen port, host, -> logger.info("web-sharelatex listening on port #{port}") logger.info("#{require('http').globalAgent.maxSockets} sockets enabled") if argv.user