Skip to content

Commit

Permalink
listen on localhost only
Browse files Browse the repository at this point in the history
  • Loading branch information
feross committed Dec 30, 2019
1 parent 6d201e7 commit 387ff32
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -168,6 +168,6 @@ app.use(function (err, req, res, next) {
})
})

server.listen(PORT, function () {
server.listen(PORT, '127.0.0.1', function () {
console.log('listening on port %s', server.address().port)
})

0 comments on commit 387ff32

Please sign in to comment.