Solve Ubuntu Connection Refusal Problem

  • Thread starter Thread starter heartless
  • Start date Start date
  • Tags Tags
    Ubuntu
AI Thread Summary
A user recently installed Ubuntu and encountered a problem where Firefox and other browsers returned a "connection refused" error when trying to access websites, despite having a working internet connection for other tasks like pinging and using wget. The issue was not consistent; sometimes websites could be accessed, and other times they could not. The user confirmed that no router logs indicated connection refusals and that there was no active iptables script or router firewall affecting the connection. The problem was resolved by changing the DNS servers in the resolv.conf file to those provided by the ISP, which improved the browser's ability to connect to websites. Additionally, it was noted that Opera could be downloaded directly from its website, contrary to the user's initial belief.
heartless
Messages
220
Reaction score
2
I've installed Ubuntu few hours ago, and I'm getting quite silly problem.
When I use firefox and put in any website, I get, "The connection was refused when attempting to contact google.com (any website) Every other thing seems to be fine, I can ping hosts, update and download stuff using wget. Router logs doesn't show any traces of connection refusal. Help!
 
Computer science news on Phys.org
heartless said:
I've installed Ubuntu few hours ago, and I'm getting quite silly problem.
When I use firefox and put in any website, I get, "The connection was refused when attempting to contact google.com (any website) Every other thing seems to be fine, I can ping hosts, update and download stuff using wget. Router logs doesn't show any traces of connection refusal. Help!


Is it just firefox, or all browsers?
 
All I have, but not all that are. I tried links and lynx and I'm getting the same thing. I couldn't try Opera, because Opera.com, as far as I know, doesn't provide direct links for browser download.
 
Ok, so you have an internet connection, but http traffic isn't getting through.

Do you have an iptables script running?
 
yeah, I have an internet connection. I'm on Ubuntu now. I realized that it isn't that http traffic doesn't go at all, (I can visit pf now) but for example I go on google, and it's ok. I close firefox, open again and again go on google, and I receive connection refused. So it's sort of crazy situation where I can visit some websites and then cannot, and then can again... I don't use router firewall and I'm without working iptables now.
 
ok, it works. I changed dns servers in resolv.conf on the dns's provided by ISP.
 
heh, that was my guess, but you were fast enough...
and you can download opera directly from their site...
 
Back
Top