If you can’t connect to certain web sites using your favorite web browser even though you have an Internet connection, there could be several reasons why. Here are a few things you can try to clear up the problem.
- In Google Chrome you may get an “Unable to connect to the Internet” message.
- In Firefox you get “Firefox can’t establish a connection to the server at website“
- In Internet Explorer you get “Page cannot be displayed” error.
This article assumes you have troubleshot the basics such as the URL is typed correctly, cache files have been cleared and you have a working internet connection.
1. Flush the DNS Cache
In some cases, flushing the DNS cache may help. You can flush the DNS by holding down the Windows key on your keyboard and pressing R to bring up the Run box. Then type ipconfig /flushdns and press Enter.
2. Reset TCP/IP
- Select “Start“, and type “CMD“
- Right-click “Command Prompt“, then choose “Run as Administrator“.
- Select “Yes” on the User Account Control box.
- From the command prompt, type the following, then press “Enter“:
netsh int ip reset
Restart your computer, then try to see if you can access the Internet from a browser now. Hopefully, you can.
3. Check if Spyware Has Modified Your HOSTS file
- To check it, go to “Start” > “Run“.
- Do one of the following depending on your operating system:
- Windows 10, 8, 7, Vista, XP and Windows 2000 users type: C:\windows\system32\drivers\etc
- Windows 98 and Windows ME users type: %WINDIR%
- Open the file called HOSTS using NOTEPAD or WORDPAD.
- Each entry will look something like the following:
- 0 pagead.googlesyndication.com
- 0.0.0.0 ad.doubleclick.net
Entries like this will block access to the sites listed. Look for entries like this referring to any web site you may not be able to access and delete them. You may also have to run a spyware scan using an utility like MalwareBytes or Spybot.
Note: For most users this file is blank. Unless you have any type of special configuration for systems on your network, the HOSTS file isn’t normally used. It is most likely safe to remove all entries from this file.
You can find more information about HOSTS files here.
4. Firewall Software is Blocking Access
Disable your firewall. The following links may help.
- How to disable Norton Internet Security
- Disable McAfee Firewall Protection
- Enable/Disable Windows Firewall
If that doesn’t work, uninstall the firewall software.
Note: Firewall software can block your connections even if it is disabled.
5. Problems with Sites that Use SSL
If the problem is only with sites that require a secure or SSL connection, you might want to troubleshoot the browsers ability to connect using SSL. If you can’t view this website, SSL problems are likely to blame.
For Internet Explorer read this article
If you have a firewall, make sure that it allows communication over port 443. Consult your firewall documentation or system administrator if you do not know how to check for this.