title: node.js,socket.io only working on local , can't access from intranet systems
body: <p>i am using node.js and socket.io for the real time notification system, so i have tested node.js and socket.io with simple chat code, it pretty good with localhost but can't access the same from the another system which are connected locally with same network, my server and client code looks like below</p>
  
  <p><code>server.js</code></p>
  
  <pre><code>var express = require('express')
   , app = express()
   , http = require('http')
   , server = http.createServer(app)
   , io = require('socket.io').listen(server);
  
   server.listen(8888);
  </code></pre>
  
  <p>and client html <code>index.html</code></p>
  
  <pre><code>&lt;script src="http://localhost:8888/socket.io/socket.io.js"&gt;&lt;/script&gt;
  &lt;script src="https://ajax.googleapis.com/ajax/libs/jquery/1.6.4/jquery.min.js"&gt;&lt;/script&gt;
  &lt;script&gt;
      var socket = io.connect('http://localhost:8888');
  &lt;/script&gt;
  </code></pre>
  
  <p>it's working on my browser with this url <code>http://localhost/schat/index.html</code> but not working when i'm trying connect from another one system using my ip <code>192.171.56.23/schat/index.html</code> but all other html files working fine, below is my netstat output</p>
  
  <pre><code>[root@localhost schat]# netstat -pan | grep 8888
  tcp        0      0 0.0.0.0:8888            0.0.0.0:*               LISTEN        8068/node           
  tcp        0      0 127.0.0.1:8888          127.0.0.1:38273         ESTABLISHED 8068/node           
  tcp        0      0 127.0.0.1:38273         127.0.0.1:8888          ESTABLISHED 7990/firefox        
  </code></pre>