I have a problem with my google chrome and firefox (the only 2 browsers I have)
When run my django server with ./manage.py runserver 0.0.0.0:8000 and when I go to chrome or firefox and enter localhost:8000 chrome redirects to http://www.localhost:8000/
do you know what is the problem??
my hosts file is:
#
# /etc/hosts: static lookup table for host names
#
#<ip-address> <hostname.domain.org> <hostname>
127.0.0.1 localhost.localdomain localhost arch
127.0.0.1 example.com
Well the problem was solved adding this line:
in the
/etc/hostsfile.