aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/node/examples/math_server.js
diff options
context:
space:
mode:
authorGravatar murgatroid99 <mlumish@google.com>2015-02-09 11:50:19 -0800
committerGravatar murgatroid99 <mlumish@google.com>2015-02-09 11:50:19 -0800
commit767482b093cfa9faa539aa6574fce9b9ba2ac3a1 (patch)
treeb83bb5d10c2ddb7bfdfe858054fb18a1d504e1a8 /src/node/examples/math_server.js
parentd2785749f8360e3c38a1400cccc808d2906b988c (diff)
Fixed math and stock servers
Diffstat (limited to 'src/node/examples/math_server.js')
-rw-r--r--src/node/examples/math_server.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/node/examples/math_server.js b/src/node/examples/math_server.js
index e65cfe3002..e1bd11b5a6 100644
--- a/src/node/examples/math_server.js
+++ b/src/node/examples/math_server.js
@@ -128,7 +128,8 @@ var server = new Server({
});
if (require.main === module) {
- server.bind('localhost:7070').listen();
+ server.bind('0.0.0.0:7070');
+ server.listen();
}
/**