7

I am using Ubuntu 1604, and I am connected to a WiFi network. My computer is connected, I can download and install updates, I can use skype, telegram desktop and everything but my google chrome browser and firefox browser can not access the Internet!

What's wrong with my Ubuntu?


I try the only answer and now I have my firefox again!

But I can't set the chrome proxy to be "no proxy" or "direct". I tried the solutions from Google Chrome proxy settings?, but still have the problem!

Could you please help me?!

1
  • 1
    Please do not put SOLVED in the title, just check the checkmark onto the answer which was most helpful for you. Thank you.
    – Videonauth
    Oct 30, 2017 at 12:03

6 Answers 6

5

This occurred to me when I updated firefox. It occurred because by default firefox use IPv6 protocol. You need to disable that.

Try this:

1) In search tab, type about:config
2) Accept the safety prompt
3) Search for network.dns.disableIPv6
4) Make sure its value is set to true. You can change it by double tapping it.

Hope it helps!

2
  • This did the trick for me on Lubuntu 18.10. Just wondering, how did you find this out?
    – Sander
    Jul 1, 2019 at 9:00
  • 2
    As far as I recall, I got this after searching for hours on some github issue!
    – ayush jain
    Jul 1, 2019 at 11:19
4

I had the same problem and solved it by the following steps:

1) Open FireFox and enter about:preferences in the URL.

2) In the General tab scroll to the bottom.

3) Under the Network Proxy header click on Settings...

4) At the top, choose Auto detect proxy settings for this network

5) Click OK

type www.askubuntu.com in the URL bar and see if it works!

1
3

I had the same problem and I solved it by modifying the resolver configuration file with the following steps:

  1. Open the file /etc/resolv.conf
  2. Change the line:
    nameserver x.x.x.x 
    
    to:
    nameserver 8.8.8.8
    
    Note: 8.8.8.8 is the IP address for Google's DNS service. If you would prefer a different DNS service, replace the IP above with the one you prefer.
1

open firefox write about:preferences

go advanced-Network

revise proxy settings

more help can be see here.

https://support.mozilla.org/en-US/kb/firefox-cant-load-websites-other-browsers-can

you are welcome, plese tell me if work or if you have any question.

2
  • My firefox browser can browse pages now, but google chrome still have the problem! I tried the same method for it, but I can't figure out how to fix it
    – f44
    Jun 22, 2017 at 15:12
  • For Chrome, try the Proxy SwitchyOmega extension. It'll let you set Chrome to use a direct connection (or whatever other proxy settings you want). Jun 25, 2017 at 8:47
0

Same problem, I am facing on Ubuntu 18.04. But for now I am giving proxy to google-chrome by terminal.

google-chrome --proxy-server="http://xxxx:port" 
0

In my case, after I removed .mozilla directory under the home directory, problem solved.

pc: I lost all my bookmarks and search history, please take into consideration.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .