1
1
I'm running a website on my local Mac (Lion) machine using Python's SimpleHTTPServer. I can view the site at http://localhost:8000
or http://127.0.0.1:8000
on my local machine.
My question is: why can't I view it on other machines connected to the same LAN?
I have taken the following steps:
- Enabled Web Sharing on my Mac, and temporarily turned off my firewall.
- Obtained my Mac's IP address via
ifconfig
: it is192.168.1.13
. - Connected another machine to the same LAN.
- On that machine, pointed a browser at
http://192.168.1.13:8000
.
But it doesn't work. I don't even get an HTTP response code: Chrome tells me the response is empty.
on your other machine, what does
ping 192.168.1.13
give? – MattDMo – 2013-06-17T17:39:26.003