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 ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 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..First they ignore you,Then they laugh at you,Then they fight with you,Then you win. - M.K.Gandhi
-----
FOSS India Award winning ext3fs Undelete tool www.giis.co.in. Online Linux Terminal http://www.webminal.org
- 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...)First they ignore you,Then they laugh at you,Then they fight with you,Then you win. - M.K.Gandhi
-----
FOSS India Award winning ext3fs Undelete tool www.giis.co.in. Online Linux Terminal http://www.webminal.org
- 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....
First they ignore you,Then they laugh at you,Then they fight with you,Then you win. - M.K.Gandhi
-----
FOSS India Award winning ext3fs Undelete tool www.giis.co.in. Online Linux Terminal http://www.webminal.org
- 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 thisFirst they ignore you,Then they laugh at you,Then they fight with you,Then you win. - M.K.Gandhi
-----
FOSS India Award winning ext3fs Undelete tool www.giis.co.in. Online Linux Terminal http://www.webminal.org
- 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.1First they ignore you,Then they laugh at you,Then they fight with you,Then you win. - M.K.Gandhi
-----
FOSS India Award winning ext3fs Undelete tool www.giis.co.in. Online Linux Terminal http://www.webminal.org




