title: NodeJS Server on Windows Not Accepting Remote Connections
body: <p>I'm running a simple web app on a NodeJS server running on port 8080 of a Windows machine. Local connections are working great, but I can't seem to get remote connections working. I've looked around for answers to this question, and I'm kind of at a loss...</p>
  
  <p>The server is listening with <code>server.listen(8080)</code>, and I'm under the impression that will bind it to all IP addresses.</p>
  
  <p>I checked the Windows command prompt...</p>
  
  <pre><code>netstat -an -f -p tcp | grep LISTEN
  TCP    0.0.0.0:8080           0.0.0.0:0              LISTENING
  </code></pre>
  
  <p>And I added an inbound rule to my Windows Firewall to accept TCP connections on port 8080. What else could it be?</p>
  
  <p>When I navigate Chrome to localhost:8080, things work great, but when I ssh into a Linux box and curl to http://{mypc}:8080 it tells me <code>curl: (7) couldn't connect to host</code></p>
  
  <p>EDIT: I'm using this script to start my Node server...
  <a href="https://github.com/joeeames/AngularFundamentalsFiles/blob/master/web-server.js" rel="nofollow">https://github.com/joeeames/AngularFundamentalsFiles/blob/master/web-server.js</a></p>