mirror of
https://github.com/ether/etherpad-lite.git
synced 2025-04-20 15:36:16 -04:00
added the ability to listen at a specific ip
This commit is contained in:
parent
a47b5ab458
commit
5306a88214
3 changed files with 9 additions and 2 deletions
|
@ -254,8 +254,8 @@ async.waterfall([
|
|||
});
|
||||
|
||||
//let the server listen
|
||||
app.listen(settings.port);
|
||||
console.log("Server is listening at port " + settings.port);
|
||||
app.listen(settings.port, settings.ip);
|
||||
console.log("Server is listening at " + settings.ip + ":" + settings.port);
|
||||
|
||||
//init socket.io and redirect all requests to the MessageHandler
|
||||
var io = socketio.listen(app);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue