Quantcast
Channel: UNIX and Linux Forums
Viewing all articles
Browse latest Browse all 16232

Unable to connect to localhost in Debian 6?

$
0
0
Hello Everyone,

I have unable to run the default server with localhost in my Debian machine. While trying to run Django I get:
Code:

Error: That IP address can't be assigned-to.
error
While trying to run galaxy-dist I get this error:
Code:

socket.error: [Errno 99] Cannot assign requested address
I can't telnet or ping localhost(127.0.0.1)
My /etc/hosts file looks like this:
Code:

127.0.0.1        localhost
127.0.1.1        sachitad.localdomain        sachitad
# The following lines are desirable for IPv6 capable hosts
::1    ip6-localhost ip6-loopback
fe00::0 ip6-localnet
ff00::0 ip6-mcastprefix
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters
ff02::3 ip6-allhosts

How can I solve this issue? Thanks

Viewing all articles
Browse latest Browse all 16232

Trending Articles