I'm trying to view a website I am building on my Mac on an iPad that is connected on the same LAN on the same Wireless AP.

I've got the right IP address, I can load up the page just fine on the same machine (http://localhost)

and this is how I started the server sudo python -m SimpleHTTPServer 80

What are the steps I can take to figure out why connections from other machines on my network don't work?

  • Have you figured out what the exact problem was ? I am facing the same problem at the moment and found this very old question – Kev1n91 Apr 6 '17 at 12:53
  • 1
    The question is too old and not specific for me to remember what I was doing so I do not remember what the resolution was. But it sounds like if you have a third unix computer you can use traceroute etc. like the answer says. – Steven Lu Apr 6 '17 at 16:40

Check if your system and switch firewall is allowing port 80. Here is what you should do to figure it out from a remote machine in your network:

$ traceroute <IP_on_which_python_server_is_running>

Also try:

$ telnet <IP_on_which_python_server_is_running> 80

This will help you to figure out if the port is accessible or not.

  • Ah, yes, traceroute and telnet. good tools that I have used before but forgot about yesterday. – Steven Lu Oct 10 '12 at 22:42
  • Could you please upvote this if it helped you. :) – Aditya Patawari Oct 11 '12 at 5:59

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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