Commit e47f248f authored by Erick Hitter's avatar Erick Hitter

Bind only to localhost

In production, will be fronted by nginx for SSL etc
parent 1e98d5b3
......@@ -75,6 +75,6 @@ app.get( '/api/:domain', cache( '5 minutes' ), function( req, res ) {
// Listen on some random, unused port
// App is meant to be fronted by nginx
app.listen( 5060, function() {
console.log( 'Listening on port 5060' );
app.listen( 5060, '127.0.0.1', function() {
console.log( 'Listening on localhost port 5060' );
} );
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment