Are you seeing the "ERR_CONNECTION_TIMED_OUT" error in your browser? Not a very helpful fault message, is information technology? If y'all are a daily WordPress user, and so it's ever good to exist aware of common errors like these that might forestall you lot from getting access to your website.

In today's mail service, we're going to take a deep dive into the "ERR_CONNECTION_TIMED_OUT" error and examine why you might come across this and what you can do to ready information technology quickly. Simply put, it's an indication that the system is unavailable and the fourth dimension given for 1 to connect has elapsed, and now the request has timed out. But what does that actually mean?

Let'southward discover out!

We've taken our noesis of effective website management at scale, and turned it into an ebook and video course. Click here to download the The 2022 Guide to Managing 40+ WordPress Sites!

What is the ERR_CONNECTION_TIMED_OUT Mistake?

An ERR_CONNECTION_TIMED_OUT fault typically means there is something wrong with your local network connection. However, that's not always the case.

According to the WordPress support documentation, a connection timed out mistake appears when your website is trying to do more than your server tin can manage. It's especially common on shared hosting where your memory limit is restricted.

When you lot visit a website and it doesn't load, your browser will try for around 30 seconds or and then until it terminates the connection. After which it will return an "ERR_CONNECTION_TIMED_OUT" mistake, indicating a advice problem. In Google Chrome you might see this as "This site can't be reached. Domain.com took also long to respond."

ERR_CONNECTION_TIMED_OUT error in Chrome
ERR_CONNECTION_TIMED_OUT error in Chrome

Due to all the different spider web browsers, operating systems, and servers, the error can present itself in a number of different means. But virtually of them have the aforementioned or similar significant. "ERR_NETWORK_CHANGED" and "ERR_CONNECTION_REFUSED" are two very closely related errors that can ordinarily be solved with the same troubleshooting steps below.

Another mutual error lawmaking that appears under 'This site can't be reached' is the DNS_PROBE_FINISHED_NXDOMAIN, which is a DNS fault that essentially means the domain that was requested doesn't exist.

Below are a few examples of how the error might present itself in different browsers.

Mozilla Firefox

In Mozilla Firefox the error will show as "The connexion has timed out." The server at domain.com is taking besides long to respond.

ERR_CONNECTION_TIMED_OUT error in Firefox
ERR_CONNECTION_TIMED_OUT fault in Firefox

Microsoft Edge

In Microsoft Edge, the error will show as "Hmmm… tin can't reach this page. Domain.com took as well long to reply." In Edge, even so, information technology does also contain the "ERR_CONNECTION_TIMED_OUT" mistake.

ERR_CONNECTION_TIMED_OUT error in Edge
ERR_CONNECTION_TIMED_OUT error in Edge

Safari

In Safari, the fault will testify as "Safari Can't Open up the Page. Safari tin't open the folio domain.com because the server where this folio is located isn't responding."

ERR_CONNECTION_TIMED_OUT error in Safari
ERR_CONNECTION_TIMED_OUT fault in Safari

How to Prepare the ERR_CONNECTION_TIMED_OUT Error

Where should you lot commencement troubleshooting if you run into this error on your WordPress site? Without a peachy deal of context, it can sometimes exist frustrating and overwhelming where to even begin. Typically these are either client-side problems (issues with your network connexion or firewall) or an effect with the server at which the site is hosted (memory limits, execution times, etc.).

ane. Bank check Your Connection

Google Chrome, Firefox, and Edge all recommend that you should cheque your network connection. While this might sound obvious, they all point to checking your connection starting time as it'due south 1 of the most common reasons for the error. Here are a few things we recommend:

  • Restart your habitation or office router. This only takes a few minutes and solves more bug than a lot of people would similar to acknowledge. To completely power cycle information technology, disconnect the power supply and then wait thirty seconds before plugging it back in.
  • Check to run across if you're on a bad or boring wifi connexion. This is a mutual occurrence on busy public wifi hotspots such as java shops or airports.

2. Disable Firewall and Antivirus Software Temporarily

Firewalls and antivirus software are intended to protect users and their systems. They scan your device regularly and automatically block any suspicious activity. However, this type of security can at times lead to connection issues.

This is because firewalls can frequently block pages they don't need to or reject content that is completely safe. Nosotros've seen this happen many times with software like AVG. To cheque whether this is the instance for you, try disabling your firewall and antivirus programs. Of course, this is only advised if you know for sure that the site you lot're intending to visit is prophylactic.

Additionally, y'all should only disable this kind of software temporarily. Switch it dorsum on after you've finished checking to see whether the mistake has been resolved, and then you lot don't get vulnerable to attacks. If you repeatedly encounter errors because of your firewall or antivirus software, you may want to consider irresolute what y'all're using.

These types of tools also have what is called a "simulated-positive" written report you tin make full out. If you're 100% positive that a site your visiting is blocked and shouldn't be, you can permit the software developer know. Here are a few quick links:

  • AVG simulated positive form
  • Norton false positive grade
  • Sophos false positive form

iii. Disable Proxy Settings

Sometimes you might come across the ERR_CONNECTION_TIMED_OUT error if you lot are utilizing a proxy service. This is usually pretty rare, especially on the client-side. However, 1 might have been gear up without you even knowing it. To disable or bank check to ensure no proxy settings are enabled, follow these steps.

Access the Settings bill of fare in your Chrome browser. This volition open up upwards the complete menu of options. Under the System department (you'll need to click Advanced at the bottom to meet this), you lot should find an entry titled Open proxy settings. By selecting it, you'll be taken to the corresponding menu:

Open Proxy Settings in Chrome
Open Proxy Settings in Chrome

Your next step depends on the system you lot're currently using. Windows users volition want to click on LAN Settings and uncheck the Use proxy server for LAN option. If yous're a Mac user, you should immediately find yourself in the relevant menu. You'll then have to uncheck all selectable proxy protocols and check to come across if the ERR_CONNECTION_TIMED_OUT message has been resolved.

Uncheck proxies on Mac
Uncheck proxies on Mac

If you lot're on Windows, you will see a "Local Surface area Network (LAN) Settings" window announced. You volition want to confirm that the "Apply a proxy server for your LAN" selection is unchecked.

Disable Chrome proxy settings in Windows
Disable Chrome proxy settings in Windows

The same goes if you lot're using a VPN like ExpressVPN or TunnelBear. Make certain you're not connected by accident.

4. Change DNS Servers

The next thing you can attempt is irresolute your DNS servers. By default, DNS servers are automatically assigned by your ISP. But y'all could endeavor temporarily changing these to a public DNS server, such equally Google or Cloudflare.

  • Some adopt to use Google's public DNS (8.8.8.8 and viii.eight.4.4) long-term due to them sometimes being more reliable.
  • Cloudflare also offers secure and blazing fast complimentary DNS (one.1.ane.one and 1.0.0.1) which we volition be using in this example. If you desire to apply Google'south the steps are the same, you lot merely replace the DNS server addresses with Googles.

Tip: If you're already using a free DNS server and having issues, removing it and defaulting back to your ISP's DNS servers also sometimes fix things.

Google and Cloudflare aren't perfect 100% of the time and at that place have been a few instances where we've noticed switching back has resolved the issue. This is peculiarly truthful if yous're using a Wifi hotspot in an drome or java store.

Windows

In Windows simply open Control Prompt past pressing the Windows logo key and R. And then type "command panel" and hit Enter.

Run Control Panel Windows
Run Control Console Windows

Click on "Network and Net" so "Network and Sharing Center." On the left-hand side, click on "Alter Adapter Settings."

Change adapter settings
Modify adapter settings

Right click on your current connection, this will either be Local Area Connection or Wireless Network Connexion based on how you're connecting. And then click on "Properties."

Subscribe Now

Wireless connection properties
Wireless connectedness properties

Select Cyberspace Protocol Version 4 (or Version half-dozen if desired) and click on "Properties."

IPV 4 properties
IPV four properties

Make a note of any existing settings in example you need to revert back. Click "Use the following DNS server addresses." Enter the following, or replace the existing with these:

For IPv4:one.1.one.1 and1.0.0.1
For IPv6:2606:4700:4700::1111 and2606:4700:4700::1001

DNS server addresses
DNS server addresses

Click OK, so Close. Restart your browser.

Mac

To modify DNS servers on a Mac, go to Organisation Preferences…

Mac system preferences
Mac organization preferences

Click on the network icon then click "Advanced."

Mac network advanced
Mac network advanced

Click on the "DNS" tab.

Mac DNS
Mac DNS

Then add together Cloudflare's DNS server addresses.

For IPv4:1.1.ane.1 and1.0.0.ane
For IPv6:2606:4700:4700::1111 and2606:4700:4700::1001

five. Affluent/Renew DNS

You can as well try flushing your local DNS cache. This is similar to clearing your browser cache. It could be that the site y'all're trying to visit isn't resolving to the correct IP accost. If you've simply migrated your WordPress site to a new host, information technology's of import to wait for things to fully propagate. This can sometimes take up to 24 hours, although information technology tin can be every bit piffling as a few minutes. This depends on your DNS provider and the TTL value of your DNS records.

Windows

In Windows simply open up up Command Prompt and enter the following:

ipconfig /flushdns
Command prompt - flush DNS
Command prompt – affluent DNS

You should encounter a "Successfully flushed the DNS resolver Enshroud" if it worked.

Mac

For macOS users, you can enter the post-obit in the final:

dscacheutil -flushcache
dscacheutil -flushcache
Mac affluent enshroud

Note: There is no success bulletin on Macs.

half dozen. Check Your Hosts File

Every computer has what they call a local hosts file. This is a file that contains manual DNS entries which are mapped to specific IP addresses. Typically this is only edited when y'all want to preview your DNS before switching over domains to a new host. Or perhaps you have a local development site running using a tool like DevKinsta, Vagrant or Docker.

At that place is a multitude of different ways this file could have been inverse or edited. Therefore, information technology's always expert to check to ensure the website you're trying to access isn't in there. Merely follow the steps beneath.

Windows

The hosts file typically requires additional access. And then the starting time step is to open up upwardly your text editor equally an administrator. Simply click on your outset menu, search for your text editor, right-click on it and select "Run equally administrator." This can exist washed in whatever text editor such every bit Notepad, Notepad++, Atom, etc. Nosotros are using Sublime in our example below.

Run text editor as administrator
Run text editor as administrator

Inside your text editor click File → Open and scan to the following location:

C:\Windows\System32\drivers\etc\

Click on the hosts file and "Open."

open hosts file
Open hosts file

Double-check and make sure the website you're trying to visit isn't listed in there. If it is, remove it.

Mac

To cheque your hosts file on a Mac, we recommend getting Gas Mask. Information technology's a free awarding which can be used every bit hosts file director, hosts files editor, and switch between them. It makes everything quick and easy! Otherwise, you can follow the steps below to edit your hosts file on Mac manually.

Get to Utilities and then click on "Final."

Mac utilities terminal
Mac utilities concluding

Enter in the post-obit command and press Enter (you will most likely be prompted for your ambassador countersign every bit well).

sudo nano /individual/etc/hosts

Double-check and make certain the website y'all're trying to visit isn't listed in your hosts file. If it is, remove it.

Edit hosts file on Mac
Edit hosts file on Mac

vii. Check the DNS of Your Domain

You should also verify that the DNS of your domain is correctly pointed to your hosting provider. If you're a Kinsta customer nosotros take an in-depth post on how to betoken your domain and or DNS to Kinsta. If you lot recently migrated your WordPress website to a new host, information technology could exist the DNS was cached incorrectly on your reckoner. In which case, step 5 above should resolve that. Or it may simply be as well before long and you demand to wait a few hours for the DNS to fully propagate.

8. Articulate Browser Cache

Web browsers store information in cache on your computer. This includes your browsing history, saved login information, and cookies – all of which are recorded in order to load the relevant pages more apace the side by side time they're visited.

Although they're useful, caches can crusade numerous problems when they become outdated. Fortunately, this problem is easily solved by immigration your cache.

Only before you do that, you can easily check to come across if information technology'southward a browser cache outcome past first opening up your browser in incognito mode. Or y'all tin can try a different browser. If you lot're still seeing the error, and then yous will want to proceed with immigration your cache.

In this instance, we'll be using Google Chrome. Begin by opening upwards the primary carte du jour (in the top-right corner of your browser window). From there, select More Tools: Yous can and so click on Clear browser data.

Chrome clear browsing data
Chrome clear browsing data

On the resulting folio, you'll demand to make sure that all listed file categories are selected. If they aren't, Chrome won't be able to empty the entire cache. Instead, information technology volition simply remove the most recent entries, which won't upshot in the desired effect:

Clear browsing data
Clear browsing information

An alternative method of completing this procedure is to enter the following URL into your address bar:

chrome://settings/clearBrowserData

The resulting screen should grant you access to the same options we've outlined higher up. Here are some other helpful links for immigration cache.

  • How to Force Refresh a Single Folio for All Browsers
  • How to Clear Cache for Google Chrome
  • How to Clear Cache for Mozilla Firefox
  • How to Articulate Cache on Mac (Safari)
  • How to Articulate Cache for Internet Explorer
  • How to Clear Cache for Microsoft Border
  • How to Clear Cache for Opera

nine. Look at The Maximum Execution Time

The remainder of the troubleshooting steps nosotros'll be diving into are those that have to do with the configuration of your WordPress site or server that may aid fix the "ERR_CONNECTION_TIMED_OUT" error.

The first is the maximum execution time fix for your site. On most servers, the default time is set to 30 seconds. This is the corporeality of time a PHP script is allowed to run (later which it times out). On shared hosts, this is typically set depression or left at the default.

You can't easily change this from WordPress equally the php.ini file is located on your server. To modify this, we recommend reaching out to your hosting provider to come across if they tin can aid. At Kinsta, we set up the default maximum execution time to 300 seconds.

If y'all desire to try and alter this yourself, it can commonly be washed with 1 of the following options. Both will depend on how your hosting provider configures their servers.

Option one – Modify Max Execution Time in php.ini File

If you take a php.ini file in your home directory, discover the max_execution_time parameter and change it. For example, if it'south gear up to thirty seconds, y'all can increment it to 300 seconds.

max_execution_time = 300

Pick 2 – Change Max Execution Time in .htacess File

If the above option doesn't work, you might be able to change it within your .htaccess file. Just similar with the php.ini file, this is typically located inside your dwelling directory. Place the post-obit in the top of your .htaccess file:

php_value max_execution_time 300

ten. Temporarily Disable Your Plugins

As with most WordPress errors, a plugin tin definitely exist the root of the problem. To determine if that's what's happening, you'll need to disable all of your site'due south plugins. Notwithstanding, if y'all're getting the "ERR_CONNECTION_TIMED_OUT" error it means you don't have access to your WordPress admin expanse. This means you lot will need to SFTP into your site. We recommend using FileZilla.

Once your SFTP client is ready, connect to your website through it and navigate to your WordPress root folder. In case you lot tin't find information technology, it's unremarkably called public_html, html, public, www, or your site's name. If you're a Kinsta customer, it's your public folder.

WordPress root folder SFTP
WordPress root binder SFTP

Open that folder, and navigate to the wp-content directory. Within, yous'll come across a binder calledplugins, which contains private subdirectories for each of the plugins installed on your site (both active and inactive).

What you're going to do now is right-click on the plugins folder, and rename it to something else. We recommendplugins.quondam orplugins.deactivated, and so you can easily recognize it later.

WordPress plugins folder renamed
WordPress plugins folder renamed

WordPress will now not be able to find whatsoever of your plugins. When that happens, it will automatically disable those plugins.

At present, try accessing your WordPress dashboard. If the timeout error is gone, then y'all can assume that ane of your plugins was the culprit. All you take to practice is figure out which one was at mistake.

Return to thewp-content directory, and rename your original plugins folder correctly. And then, you lot'll need to disable each of your plugins i by ane, until yous find the culprit.

To do this, open up thewp-content/plugins directory. Inside, you'll find one folder for each of your plugins. The process you're going to follow is much the same as before:

  1. Start with the starting time folder, and rename information technology to anything you like.
  2. Bank check your website to run across if the error is gone.
  3. If it isn't, return the plugin folder from the previous step to its original name.
  4. Motion on to the side by side plugin on your list, repeating the above steps.

This process can take a while if yous accept a lot of plugins, but it'due south vital to check each plugin in turn. If at whatever indicate yous identify the plugin that's causing the mistake, you lot can uninstall it or supersede it with another tool.

If y'all make it to the end of these steps without finding a solution, you lot can motion on to the next phase of troubleshooting.

11. Temporarily Revert to Default Theme

Now that you lot've ruled out your plugins equally the cause of the timeout error, it's time to do the same with your active theme. In fact, your theme could also be creating compatibility issues.

Unfortunately, the process doesn't piece of work the same as in a higher place. WordPress won't revert to the default theme if but rename the theme folder, you would end up with an error like "The theme directory "theme name" does not be." Or if you lot try to rename the entire theme directory folder, you terminate up with "ERROR: The themes directory is either empty or doesn't exist. Please check your installation."

Therefore, you lot need to access your WordPress database past logging into phpMyAdmin. If you're a Kinsta customer, this tin exist institute within the "Info" section of the MyKinsta dashboard.

MyKinsta phpMyAdmin
MyKinsta phpMyAdmin

Click into the "wp_options" table, so click on the "Search" tab. Yous volition want to search under the "option_name" fortemplate.

phpMyAdmin wp_options table
phpMyAdmin wp_options table

Nether the "option_value" column y'all volition run across the current name of your theme. Alter this to i of the default themes, such as "twentynineteen."

wp_options template name
wp_options template proper noun

Check your website once more to come across if this has fixed the fault. If it did, it just ways it'due south a problem with your WordPress theme and yous might desire to try reinstalling information technology or reverting to your most contempo backup.

12. Increment the Memory Limit

The WP_MEMORY_LIMIT parameter allows yous to specify the maximum corporeality of retentivity that tin be consumed by PHP. If you are using shared hosting, it's about probable gear up to a low value such as 64M. At Kinsta, we set the default retentivity limit to 256M.

You can increase the memory limit by adding the following to your wp-config.php file. This must be placed above the wp-settings.php inclusion.

define( 'WP_MEMORY_LIMIT', '256M' );
WP_MEMORY_LIMIT in wp-config.php
WP_MEMORY_LIMIT in wp-config.php

Not certain what your current PHP memory limit is gear up to? If you have access to your WordPress dashboard and are running WordPress 5.2 or above, you tin encounter the PHP memory limit under the "Site Wellness" tool.

WordPress site health PHP memory limit
WordPress site health PHP memory limit

Can't reach your site because of the *ERR_CONNECTION_TIMED_OUT* error message? Here are 12 possible ways to set up it! 💻😱 Click to Tweet

Summary

Connection and timeout errors are never fun to troubleshoot, just hopefully, you have a little more than cognition in your toolbelt now to assistance resolve information technology quickly.

It's important to remember that the "ERR_CONNECTION_TIMED_OUT" error be a result of a client-side problem such equally your network connection, or an event with the server where your WordPress site is hosted. Have whatever other tips to resolve this error? Let us know beneath in the comments.

(Suggested reading: Learn how to fix the ERR_CACHE_MISS error in Chrome)


Relieve fourth dimension, costs and maximize site performance with:

  • Instant assist from WordPress hosting experts, 24/7.
  • Cloudflare Enterprise integration.
  • Global audience achieve with 32 data centers worldwide.
  • Optimization with our built-in Application Performance Monitoring.

All of that and much more, in one plan with no long-term contracts, assisted migrations, and a 30-twenty-four hours-money-dorsum-guarantee. Check out our plans or talk to sales to detect the program that'southward correct for you.