+5 votes
73 views
How to Fix Cannot access this website

in Internet by (552k points)
reopened | 73 views

1 Answer

+3 votes
Best answer

1 Configure DNS manually
2 Edit Hosts file
3 Clear DNS cache with CMD
4 Clear Chrome DNS Cache

As users of any operating system, we access websites on a daily basis to check news, see our emails, use study or educational platforms or simply as a way to pass the time, but many times when we open a website we find the error “ This website cannot be accessed”, we are logically unable to see the content of the site and we can validate if said domain is correctly written or if the web page is active by checking from another device..

 

But this specific error can occur for reasons ranging from failures in the Internet connection, some remote error with the website's server, direct failures of the web browser or even that our operating system fails. The error generates a cause called "ERR_CONNECTION_REFUSED" which indicates that the connection to said site was simply rejected. TechnoWikis has a series of solutions for you that will correct this error.

 

 

 

To stay up to date, remember to subscribe to our YouTube channel!
SUBSCRIBE ON YOUTUBE

 


1 Configure DNS manually

 

The DNS (Domain Name System) is responsible for converting IP addresses into domain names, which is why we can enter TechnoWikis.com and not an IP address, but the default DNS is provided by our provider and it can become saturated giving rise to this error..

 

Step 1

To rule out this cause we open a browser to check the mentioned error:

 

 

image

 

 

Step 2

In the Start search engine we enter "network" and click on "View network connections":

 

image

 

 

Step 3

Now we right click on the network adapter and there we select "Properties":

 

image

 

Step 4

In the pop-up window we select "Internet Protocol version 4" and click on "Properties":

 

image

 

step 5

We will see the following configuration:

 

image

 

step 6

Activate the "Use the following DNS server addresses" box and enter the desired IPs:

 

image

 

 

step 7

For this case we can make use of public DNS servers that are more powerful servers and open to users, some of the options to use are:

 

  • Google Public DNS:
 Primary IPv4: 8.8.8.8 Secondary IPv4: 8.8.4.4 
  • OpenDNS:
 Primary IPv4: 208.67.222.222 Secondary IPv4: 208.67.220.220 
  • Cloudflare DNS:
 Primary IPv4: 1.1.1.1 Secondary IPv4: 1.0.0.1 
  • Quad9:
 Primary IPv4: 9.9.9.9 Secondary IPv4: 149.112.112.112 
  • Comfortable Secure DNS:
 Primary IPv4: 8.26.56.26 Secondary IPv4: 8.20.247.20 
Apply the changes.

 

 

step 8

Refresh the website to validate that it works:

 

image

 


2 Edit Hosts file

 

In most operating systems there is a protected file called hosts, this is a plain text file with which it is possible to associate host names with specific IP addresses, thus when entering a web address in any browser, the system will look in the hosts file in order to check if the basket IP address is linked to the domain name, in case the IP is not in the hosts file, the system will look for that IP address using the DNS servers.

 

Step 1

In some cases, access to a website can be blocked in the hosts file, which means that this may be the cause of the error in question, to validate it we open a browser to check the error:

 

image

 

Step 2

Open Notepad as administrator:

 

image

 

Step 3

We accept UAC permissions:

 

image

 

Step 4

Now we will go to the "File - Open" menu:

 

image

 

step 5

Let's go to the route:
 C:\Windows\System32\drivers\etc 
step 6

We set "All files" and select to open the hosts file:

 

 

 

 

 

image

 

step 7

We will see the content of the file:

 

image

 

step 8

There we can find the page that is generating an error, we must delete the line that contains the syntax:
 127.0.0.1 (website) 
step 9

127.0.01 is an IP that is associated with the local computer and with it it will make possible the communication of network applications with local services that are executed locally.

 

 

 

 

 

image

 

step 10

Apply the changes:

 

image

 

step 11

Check that the website opens:

 

image

 


3 Clear DNS cache with CMD

 

Step 1

With this step we seek to empty the DNS cache that is hosted every time we visit a website, these are fragments that allow faster access in future accesses, we try to open the website to see the error:

 

image

 

Step 2

Open the terminal as administrator:

 

image

 

Step 3

We execute:
 ipconfig /flusdns 
Step 4

The cache will be cleared locally:

 

 

 

 

 

image

 

step 5

Verify that the website works by updating it:

 

image

 


4 Clear Chrome DNS Cache

 

Step 1

This step applies when the error is visible in Google Chrome:

 

image

 

Step 2

We open a new tab and there we enter:
 chrome://net-internals/#dns 
image

 

Step 3

We click on "Clear host cache" and then refresh the page to see what it loads:

 

image

 

These steps are functional to help correct this error so that you can open the content of the website and perform the required tasks..

 


by (3.5m points)
edited

Related questions

+3 votes
1 answer
asked Oct 31, 2023 in Windows10 by backtothefuture (552k points) | 78 views
+3 votes
1 answer
asked Feb 22, 2021 in Windows 10 by backtothefuture (552k points) | 171 views
+4 votes
1 answer
asked Oct 10, 2019 in Internet by backtothefuture (552k points) | 201 views
+5 votes
1 answer
+5 votes
1 answer
asked Nov 2, 2019 in Internet by backtothefuture (552k points) | 421 views
Sponsored articles cost $40 per post. You can contact us via Feedback

Most popular questions within the last 30 days

10,659 questions
10,791 answers
510 comments
3 users