View previous topic :: View next topic |
Author |
Message |
kepple n00b
Joined: 17 Jun 2005 Posts: 9 Location: Iowa
|
Posted: Wed Jan 04, 2006 6:28 pm Post subject: "Connection refused when attempting to contact..." |
|
|
I brought my desktop back from campus and I'm having a nagging problem using it on my home network, which consists of several computers connected to a DSL modem through a switch.
When I attempt to open certain sites in firefox I get the message "Connection refused when attempting to contact x.com" This only happens for certain websites google, wikipedia, some of my university's sites. I'm posting this from the computer in question and I'm able to ping all of the sites and it seems to resolve the address correctly. All other (Windows XP) machines on the network are able to browse to these sites without any problems.
Sometimes after pinging or telnetting to a server I am able to open the site in firefox. I am always able to connect to port 80 on the server using telnet. Some servers will respond normally to a GET request through telnet, but google always drops me.
Code: | mroberts@kepple ~ $ ping www.google.com
PING www.l.google.com (72.14.207.104) 56(84) bytes of data.
64 bytes from www.google.com (72.14.207.104): icmp_seq=1 ttl=241 time=
64 bytes from www.google.com (72.14.207.104): icmp_seq=2 ttl=241 time=
64 bytes from www.google.com (72.14.207.104): icmp_seq=3 ttl=241 time=
--- www.l.google.com ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 2003ms
rtt min/avg/max/mdev = 62.756/65.954/71.409/3.881 ms
mroberts@kepple ~ $ ktelnet www.google.com 80
Trying 72.14.207.104...
Connected to www.google.com (72.14.207.104).
Escape character is '^]'.
GET
Connection closed by foreign host.
|
resolve.conf seems right. The first address is the gateway adress and the second is my ISP's DNS server.
Code: | # Generated by dhcpcd for interface eth0
domain domain.actdsltmp
nameserver 192.169.0.1
nameserver 216.137.64.70
|
I'm pretty baffled by this. I don't even know where to start troubleshooting. Please let me know if you need additional info. Any help would be greatly appreciated.
EDIT: Also, when booted into windows the machine has no such problems.
EDIT: #2 I updated everything, built a new kernel and the problem is gone. wierd.
Last edited by kepple on Sun Jan 08, 2006 5:58 am; edited 1 time in total |
|
Back to top |
|
|
badchien Guru
Joined: 16 Feb 2004 Posts: 415 Location: doghouse
|
Posted: Wed Jan 04, 2006 6:59 pm Post subject: |
|
|
I wonder if it could be ECN...
Code: | cat /proc/sys/net/ipv4/tcp_ecn |
Is is 1 or 0? If 1, try setting to 0 [zero].
It can also be set in /etc/sysctl.conf |
|
Back to top |
|
|
kepple n00b
Joined: 17 Jun 2005 Posts: 9 Location: Iowa
|
Posted: Wed Jan 04, 2006 9:06 pm Post subject: |
|
|
yup, it's set to zero |
|
Back to top |
|
|
jamapii l33t
Joined: 16 Sep 2004 Posts: 637
|
Posted: Wed Jan 04, 2006 11:43 pm Post subject: |
|
|
That's very weird. I'd suggest either your kernel or some library has a problem. Maybe you can try a new, different kernel.
If you have another machine on the lan, you can emerge squid, start it and use it as a proxy. Might help reveal some information about the problem, or at least serve as a workaround. |
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|