Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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

  • The apache server is running on the macbook and accessible locally via http://192.168.0.10
  • 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 serverfault.com Feb 6 '11 at 20:22

This question came from our site for professional 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
1  
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/Console.app? –  Daniel Beck Feb 26 '11 at 17:01
add comment

1 Answer

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
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.