My browsers can not connect to the internet while my Ubuntu is connected

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?!


Solution 1:

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!

Solution 2:

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!

Solution 3:

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.