Skip to content

Commit

Permalink
Listen to correct server thingy
Browse files Browse the repository at this point in the history
  • Loading branch information
cvetan5 committed Nov 9, 2015
1 parent dc226ff commit 1063082
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ function startWebSocket(port) {
}
console.log("Connection closed")
})
}).listen(port, console.log('WS server running on port: ' + port));
}).listen(port, "127.0.0.1", function() { console.log('WS server running on port: ' + port) });
}

function startAPI(settings) {
Expand Down

0 comments on commit 1063082

Please sign in to comment.