I have a python web framework, Tornado, trying to listen on port 8000 but failed.
Under the testing conditions below, firewall has been disabled in system pref pane.
ipfw list shows
65535 allow ip from any to any. Ifconfig shows my inet addr =
Start tornado, listens to port 8000 Access localhost:8000 is ok; Access 10.0.1.2:8000 is NOT ok on both local machine and ipad (same Wireless LAN).
By default the Mountain Lion Apache is on, which is listening to :80 Accesses to localhost:80 and 10.0.1.2:80 are both OK, showing apache
It works! page
sudo apachectl stop, start tornado and make it listen to port 80 Access localhost:80 ok; access 10.0.1.2:80 NOT OK.
What is the reason that only Apache is accessible by other machines, but not my Tornado App, even under the same port? I have searched Serverfault and maybe it is related to
launchd, which redirects the port 80 traffic to Apache?