[clue-tech] difference between localhost and hostname

Jason S. Friedman jason at powerpull.net
Thu Jul 10 09:12:27 MDT 2008


I have been playing with Google App Engine, although my question is 
probably not related to this particular application.  I start my service 
as an unprivileged user with:
./dev_appserver.py --port=9999 myapp

powerpull at goldenrule ~ $ egrep 'localhost|goldenrule' /etc/hosts
127.0.0.1       localhost
192.168.0.150   goldenrule.powerpull.net        goldenrule

When I point my browser at http://localhost:9999 the service returns my 
page.  When I point my browser at http://goldenrule:9999 or 
http://goldenrule.powerpull.net:9999 I get a connection error.  Why is that?


More information about the clue-tech mailing list