title: Why can't I access a web app running on my Mac via my iPhone?
body: <p>I'm developing an iPhone app that has a network component. I'm developing the app in Java  (Google App Engine actually), running on port 8080. And it works, when I test my app in the iPhone simulator. </p>
  
  <p>But now I am trying to test on the device, and I can't hit my Jetty instance. I can certainly access my Mac via the iPhone because I'm able to hit <a href="http://10.0.1.7/~brianpapa/" rel="nofollow noreferrer">http://10.0.1.7/~brianpapa/</a> and view my Home Folder when Web Sharing is turned on. But when I try to hit <a href="http://10.0.1.7:8080/" rel="nofollow noreferrer">http://10.0.1.7:8080/</a>, it says it can't connect to the server. </p>
  
  <p>Interestingly, if I try to hit <a href="http://10.0.1.7:8080/" rel="nofollow noreferrer">http://10.0.1.7:8080/</a> from my mac, it doesn't work either - I have to use localhost as the hostname instead, then it's fine. Has anybody ever encountered this before, and know how to fix it?</p>