title: Can't connect to local IP address on OSX
body: <p>I'm trying to connect to a webserver that's running on my mac OSX 1.6. I'm able to connect to it locally using <a href="http://127.0.0.1:8888/myapp" rel="nofollow noreferrer">http://127.0.0.1:8888/myapp</a> but when I attempt to connect to it using my machine's local IP address (<a href="http://192.168.1.15:8888/myapp" rel="nofollow noreferrer">http://192.168.1.15:8888/myapp</a> IP shown below) from the same machine (or another on the network) I cannot connect. I can ping the LAN IP address. </p>
  
  <p>I've tried adding IP forwarding to my router for port 8888 but it didn't help. 
  I've checked and the OSX firewall is disabled</p>
  
  <p>Can anyone suggest what else is blocking the connection? </p>
  
  <p>Here's what I get when I run ifconfig:</p>
  
  <pre><code>~ :ifconfig
  lo0: flags=8049&lt;UP,LOOPBACK,RUNNING,MULTICAST&gt; mtu 16384
      inet6 ::1 prefixlen 128 
      inet6 fe80::1%lo0 prefixlen 64 scopeid 0x1 
      inet 127.0.0.1 netmask 0xff000000 
  gif0: flags=8010&lt;POINTOPOINT,MULTICAST&gt; mtu 1280
  stf0: flags=0&lt;&gt; mtu 1280
  en0: flags=8863&lt;UP,BROADCAST,SMART,RUNNING,SIMPLEX,MULTICAST&gt; mtu 1500
      ether 00:1f:5b:e8:16:4d 
      media: autoselect status: inactive
      supported media: autoselect 10baseT/UTP &lt;half-duplex&gt; 10baseT/UTP &lt;full-duplex&gt; 10baseT/UTP &lt;full-duplex,hw-loopback&gt; 10baseT/UTP &lt;full-duplex,flow-control&gt; 100baseTX &lt;half-duplex&gt; 100baseTX &lt;full-duplex&gt; 100baseTX &lt;full-duplex,hw-loopback&gt; 100baseTX &lt;full-duplex,flow-control&gt; 1000baseT &lt;full-duplex&gt; 1000baseT &lt;full-duplex,hw-loopback&gt; 1000baseT &lt;full-duplex,flow-control&gt; none
  en1: flags=8863&lt;UP,BROADCAST,SMART,RUNNING,SIMPLEX,MULTICAST&gt; mtu 1500
      inet6 fe80::21e:c2ff:febf:4809%en1 prefixlen 64 scopeid 0x5 
      inet 192.168.1.15 netmask 0xffffff00 broadcast 192.168.1.255
      ether 00:1e:c2:bf:48:09 
      media: autoselect status: active
      supported media: autoselect
  fw0: flags=8802&lt;BROADCAST,SIMPLEX,MULTICAST&gt; mtu 4078
      lladdr 00:1f:5b:ff:fe:2b:b3:3c 
      media: autoselect &lt;full-duplex&gt; status: inactive
      supported media: autoselect &lt;full-duplex&gt;
  en5: flags=8822&lt;BROADCAST,SMART,SIMPLEX,MULTICAST&gt; mtu 1500
      ether 00:1e:c2:8e:0f:45 
      media: autoselect status: inactive
      supported media: none autoselect 10baseT/UTP &lt;half-duplex&gt;
  en2: flags=8922&lt;BROADCAST,SMART,PROMISC,SIMPLEX,MULTICAST&gt; mtu 1500
      ether 00:1c:42:00:00:00 
      media: autoselect status: inactive
      supported media: autoselect
  en3: flags=8922&lt;BROADCAST,SMART,PROMISC,SIMPLEX,MULTICAST&gt; mtu 1500
      ether 00:1c:42:00:00:01 
      media: autoselect status: inactive
      supported media: autoselect
  </code></pre>