Skip to content

Commit

Permalink
bind to all
Browse files Browse the repository at this point in the history
  • Loading branch information
joeferner committed Sep 2, 2015
1 parent 586ffaa commit 70f90de
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bin/server.ts
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ function run(callback:(err:Error)=>any) {
require('../lib/routes')(app);
app.use(express.static(staticDirectory));

var server = app.listen(process.env.PORT || 3000, '127.0.0.1', function () {
var server = app.listen(process.env.PORT || 3000, '0.0.0.0', function () {
var host = server.address().address;
var port = server.address().port;

Expand Down

0 comments on commit 70f90de

Please sign in to comment.