Results 1 to 7 of 7
hi all,
I'm getting following error when i try to access localhost
"connection was refused when attempting to contact localhost"
what's this mean?what should i do ?
Actually it worked ...
- 06-11-2007 #1
[SOLVED] connection was refused when attempting to contact localhost
hi all,
I'm getting following error when i try to access localhost
"connection was refused when attempting to contact localhost"
what's this mean?what should i do ?
Actually it worked fine for a while ...then it's throws the above msg.
my /etc/hosts file entries
127.0.0.1 localhost.localdomain localhost
10.232.30.25 pc012345.xyz.com pc012345
when i run the command hostname it shows
pc012345
please help me out..- Lakshmipathi.G
-------------------
FOSS India Award winning ext3fs Undelete tool and tutorials www.giis.co.in
First they criticize you,Then they laugh at you,Then they fight with you,Then you win. - M.K.Gandhi
-------------------
- 06-11-2007 #2
- 06-12-2007 #3
I'm working in LAN under domain name xyz.com.
While installing spikesource ,it worked only when i added
10.232.30.25 pc012345.xyz.com pc012345
in /etc/hosts
i believe the information is not sufficent for other to help....
I'm don't have much networking knowlegde..(domain name,proxy etc..etc...)- Lakshmipathi.G
-------------------
FOSS India Award winning ext3fs Undelete tool and tutorials www.giis.co.in
First they criticize you,Then they laugh at you,Then they fight with you,Then you win. - M.K.Gandhi
-------------------
- 06-12-2007 #4
Sorry I took so long to get back to you.
All you need in the hosts file is the ipaddress and hostname besides the local host
127.0.0.1 localhost.localdomain localhost
10.232.30.25 pc012345
Try this I hope it helps.
- 06-13-2007 #5
thanks....
- Lakshmipathi.G
-------------------
FOSS India Award winning ext3fs Undelete tool and tutorials www.giis.co.in
First they criticize you,Then they laugh at you,Then they fight with you,Then you win. - M.K.Gandhi
-------------------
- 06-22-2007 #6
No
....again i'm unable to connect to localhost but i can connect to web sites like this....
any know what's going wrong....i don't have any idea abt how 2 fix this- Lakshmipathi.G
-------------------
FOSS India Award winning ext3fs Undelete tool and tutorials www.giis.co.in
First they criticize you,Then they laugh at you,Then they fight with you,Then you win. - M.K.Gandhi
-------------------
- 06-17-2009 #7
Editing /etc/hosts with correct your IP address and then make sure having
Primary DNS server name /etc/resolv.conf along with
setting ipaddress with default gateway
Solved the issue./sbin/ifconfig eth0 192.168.1.4 netmask 255.255.255.0 up
/sbin/route add default gw 192.168.1.1- Lakshmipathi.G
-------------------
FOSS India Award winning ext3fs Undelete tool and tutorials www.giis.co.in
First they criticize you,Then they laugh at you,Then they fight with you,Then you win. - M.K.Gandhi
-------------------




