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

32,105

Solution 1

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 2

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 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.

Solution 4

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.

Share:
32,105

Related videos on Youtube

f44
Author by

f44

Updated on September 18, 2022

Comments

  • f44
    f44 over 1 year

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

    • Videonauth
      Videonauth over 6 years
      Please do not put SOLVED in the title, just check the checkmark onto the answer which was most helpful for you. Thank you.
  • f44
    f44 almost 7 years
    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
  • Chai T. Rex
    Chai T. Rex almost 7 years
    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).
  • Rishabh Agrawal
    Rishabh Agrawal about 5 years
    Not working for me.
  • Sander
    Sander almost 5 years
    This did the trick for me on Lubuntu 18.10. Just wondering, how did you find this out?
  • ayush jain
    ayush jain almost 5 years
    As far as I recall, I got this after searching for hours on some github issue!