Skip to content
Browse files

Made it so that I can connect to the ws implementation on an ip other…

… than 127.0.0.1
  • Loading branch information...
1 parent cf36e1d commit 1cd9ff6c5e471d8ac6ed7675503a99861a684d69 @ericmoritz ericmoritz committed Jun 16, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 competition/wsdemo-ws.js
View
2 competition/wsdemo-ws.js
@@ -1,7 +1,7 @@
#!/usr/bin/env node
var ws = require('ws')
-, wss = new ws.Server({port:8000})
+, wss = new ws.Server({port:8000, host: "0.0.0.0"})
wss.on('connection', function(con) {

0 comments on commit 1cd9ff6

Please sign in to comment.
Something went wrong with that request. Please try again.