Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I want to set up a web server on my macbook ( accessible from my iPhone ( Both device are on the same network.

  • The apache server is running on the macbook and accessible locally via
  • The iPhone cannot access this page
  • The macbook can ping the iPhone and the router
  • The iPhone can ping the router but not the macbook
  • The firewall on the macbook is off

I don't understand why all connection are not working to the mac. Is there something else than the firewall blocking these connections?

EDIT: I test on another local network to connect with another PC and it didn't work neither.

EDIT2: I'm using SecureClient on this machine to connect to my company VPN.

share|improve this question

migrated from Feb 6 '11 at 20:22

This question came from our site for system and network administrators.

Can you telnet from one to the other? Being able to ping the machine doesn't mean that port 80 (Apache's default port) is available. Try it with telnet <hostname> 80; this does not have to be from the iPhone. Just use another machine on the network. – Redmumba Feb 6 '11 at 19:06
It sounds a lot like the devices are not on the same network. Is one maybe connected wirelessly and the other not? – Daniel Beck Feb 6 '11 at 21:02
IF you MacBook is connected to your router via cable and the iPhone connects wirelessly, its likely (better: it may be) your router isolates your wifi from other machines in your network. – lajuette Feb 6 '11 at 22:10
I tried to telnet with the iphone but it doesn't work and doesn't have other device to test. Both are connected via wifi. I tested with two different wifi router: the one from my provider and timecapsule. – Martin Delille Feb 7 '11 at 0:09
Does it work in the other direction? Do other sharing services (e.g. windows file sharing) work in either direction? Does the ping work from the other machine? Is there anything interesting in the logs accessible via /Applications/Utilities/ – Daniel Beck Feb 26 '11 at 17:01
up vote 0 down vote accepted

The SecureClient VPN tool was blocking external adress to my mac. I just disable by clicking the SecureClient icon > Tools > Disable Security Policy

share|improve this answer
You didn't consider having an active VPN connection as being relevant to troubleshooting networking issues? – Daniel Beck Feb 26 '11 at 17:20
The problem occured all the time even if the connection wasn't active. That's why I didn't tilt. Thank you for you help! – Martin Delille May 29 '11 at 12:30

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .