Skip to content

Commit

Permalink
fix(server): listen on 0.0.0.0 to allow remote connection
Browse files Browse the repository at this point in the history
  • Loading branch information
petebacondarwin committed Sep 24, 2013
1 parent 535a942 commit 3d0b4e6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server/server.js
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ require('./lib/routes/appFile').addRoutes(app, config);
app.use(express.errorHandler({ dumpExceptions: true, showStack: true }));

// Start up the server on the port specified in the config
server.listen(config.server.listenPort, 'localhost', 511, function() {
server.listen(config.server.listenPort, '0.0.0.0', 511, function() {
// // Once the server is listening we automatically open up a browser
var open = require('open');
open('http://localhost:' + config.server.listenPort + '/');
Expand Down

0 comments on commit 3d0b4e6

Please sign in to comment.