On Wed, Oct 10, 2012 at 11:02:52PM -0700, cht8 wrote:
> I'm new to turbogears 2. I've follow the example guide on
>
turbogears.org. When I run the command "sudo paster serve development.ini"
> it gives me no error and "serving on
http://127.0.0.1:8080" but I can't
> see the page on
http://localhost:8080.
Check that you got something listening to that port first.
$ fuser -n tcp 8080
8080/tcp: 3259
What is it that is listening to port 8080? Check use the PID found in
the above command. h flag suppresses header, w prints wide.
$ ps hw 3259
3259 pts/3 Sl+ 0:02 /home/virtualenv/tg2env/bin/python /home/virtualenv/tg2env/bin/paster serve development.ini
try telnet to 127.0.0.1 not the name first. If you get a connection type
"GET /" without the quotes.
Also, if you have a firewall check you're not blocking local
connections.
Oh another thing, and I've done this before. The browser has to be
running on the computer that paster is running. I've ssh'ed from my
laptop to my server to run paster and wondered why the laptops browser
doesn't work. All terminals look the same!
- Craig
--
Craig Small VK2XLZ
http://enc.com.au/ csmall at :
enc.com.au
Debian GNU/Linux
http://www.debian.org/ csmall at :
debian.org
GPG fingerprint: 5D2F B320 B825 D939 04D2 0519 3938 F96B DF50 FEA5