Local python web server problem
remm1 at member.fsf.org
Mon Feb 9 17:45:59 CET 2009
> I run the cherrypy hello world! example and when I visit
> on firefox, a nice "Hello World" appears. I am on ubuntu and my ip in
> local network is 192.168.100.18
> but when I visit 192.168.100.18, there is another page: "It Works!".
> What is "It Works!"? and when I type 192.168.100.18:8080 in another
> local pc, the page didn't load?
You need to have the server listen on 192.168.100.18 not 127.0.0.1.
They are different. 127.0.0.1 is visible only locally. The
192.168.100.18 is visible both locally and from other hosts.
I don't use cherrypy so don't know how you set this up. Are you using
apache to host cherrypy or does it have it's own web server? If your using
apache the IP address is selected with the Listen directive normally in
the /etc/apache2/ports.conf file.
> Thanks and sorry for my bad English.
Your english is good.
More information about the Python-list