Err_Connection_Timed_Out Khi Vào Facebook

Are you seeing the “ERR_CONNECTION_TIMED_OUT” error in your browser? Not a very helpful error message, is it? If you are a daily WordPress user, then it’s always good lớn be aware of comtháng errors lượt thích these that might prsự kiện you from getting access to lớn your trang web.

Bạn đang xem: Err_Connection_Timed_Out Khi Vào Facebook

In today’s post, we’re going khổng lồ take a deep dive sầu inkhổng lồ the “ERR_CONNECTION_TIMED_OUT” error and examine why you might see this & what you can vì chưng khổng lồ fix it quickly. Simply put, it’s an indication that the system is unavailable and the time given for one khổng lồ connect has elapsed, and now the request has timed out. But what does that actually mean?

Let’s find out!

We’ve sầu taken our knowledge of effective trang web management at scale, và turned it into an ebook and đoạn phim course. Click here to download the The 20trăng tròn Guide khổng lồ Managing 40+ WordPress Sites!


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

According lớn the WordPress support documentation, a connection timed out error appears when your website is trying khổng lồ vì chưng more than your VPS can manage. It’s particularly comtháng on shared hosting where your memory limit is restricted.

When you visit a website and it doesn’t load, your browser will try for around 30 seconds or so until it terminates the connection. After which it will return an “ERR_CONNECTION_TIMED_OUT” error, indicating a communication problem. In Google Chrome you might see this as “This site can’t be reached. took too long khổng lồ respond.”


Open Proxy Settings in Chrome

Your next step depends on the system you’re currently using. Windows users will want lớn click on LAN Settings & unkiểm tra the Use proxy VPS for LAN option. If you’re a Mac user, you should immediately find yourself in the relevant menu. You’ll then have khổng lồ uncheck all selectable proxy protocols & check to see if the ERR_CONNECTION_TIMED_OUT message has been resolved.


Uncheck proxies on Mac

If you’re on Windows, you will see a “Local Area Network (LAN) Settings” window appear. You will want khổng lồ confirm that the “Use a proxy server for your LAN” option is unchecked.


Disable Chrome proxy settings in Windows

The same goes if you’re using a VPN lượt thích ExpressVPN or TunnelBear. Make sure you’re not connected by accident.

4. Change DNS Servers

The next thing you can try is changing your DNS servers. By default, DNS servers are automatically assigned by your ISPhường. But you could try temporarily changing these khổng lồ a public DNS server, such as Google or Cloudflare.

Tip: If you’re already using a không lấy phí DNS VPS & having issues, removing it và defaulting bachồng to lớn your ISP’s DNS servers also sometimes fix things.

Google and Cloudflare aren’t perfect 100% of the time và there have sầu been a few instances where we’ve noticed switching back has resolved the issue. This is especially true if you’re using a Wifi hotspot in an airport or coffee shop.


In Windows simply open up Comm& Prompt by pressing the Windows logo sản phẩm key and R. Then type “control panel” & hit Enter.


Run Control Panel Windows

Click on “Network & Internet” and then “Network and Sharing Center.” On the left-h& side, clichồng on “Change Adapter Settings.”


Change adapter settings

Right cliông chồng on your current connection, this will either be Local Area Connection or Wireless Network Connection based on how you’re connecting. Then cliông xã on “Properties.”

Then add Cloudflare’s DNS hệ thống addresses.

For IPv4: and IPv6: 2606:4700:4700::1111 and 2606:4700:4700::1001

5. Flush/Renew DNS

You can also try flushing your local DNS cabít. This is similar to clearing your browser cabịt. It could be that the site you’re trying khổng lồ visit isn’t resolving to lớn the correct IPhường address. If you’ve just migrated your WordPress site khổng lồ a new host, it’s important khổng lồ wait for things to lớn fully propagate. This can sometimes take up lớn 24 hours, although it can be as little as a few minutes. This depends on your DNS provider & the TTL value of your DNS records.

Note: There is no success message on Macs.

6. Chechồng 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 lớn specific IPhường addresses. Typically this is only edited when you want to pnhận xét your DNS before switching over domains khổng lồ a new host. Or perhaps you have a local development site running using a tool lượt thích, Vagrant or Docker.

There is a multitude of different ways this tệp tin could have been changed or edited. Therefore, it’s always good khổng lồ check khổng lồ ensure the trang web you’re trying khổng lồ access isn’t in there. Just follow the steps below.


The hosts file typically requires additional access. So the first step is to open up your text editor as an administrator. Simply cliông xã on your start menu, search for your text editor, right-click on it & select “Run as administrator.” This can be done in any text editor such as Notepad, Notepad++, Atom, etc. We are using Sublime in our example below.

Within your text editor clichồng File → mở cửa và browse to lớn the following location:

C:WindowsSystem32driversetcCliông chồng on the hosts file and “mở cửa.”

Double-kiểm tra & make sure the website you’re trying lớn visit isn’t listed in there. If it is, remove sầu it.


To kiểm tra your hosts file on a Mac, we recommkết thúc getting Gas Mask. It’s a free application which can be used as hosts tệp tin manager, hosts files editor, & switch between them. It makes everything quick và easy! Otherwise, you can follow the steps below to lớn edit your hosts file on Mac manually.

Go lớn Utilities và then click on “Terminal.”

Enter in the following command and press Enter (you will most likely be prompted for your administrator password as well).

subởi vì nano /private/etc/hostsDouble-check & make sure the trang web you’re trying lớn visit isn’t listed in your hosts file. If it is, remove it.

7. Check the DNS of Your Domain

You should also verify that the DNS of your domain is correctly pointed to lớn your hosting provider. If you’re a client we have an in-depth post on how to lớn point your domain name & or DNS khổng lồ If you recently migrated your WordPress trang web to a new host, it could be the DNS was cached incorrectly on your computer. In which case, step 5 above should resolve that. Or it may simply be too soon and you need to wait a few hours for the DNS to lớn fully propagate.

8. Clear Browser Cache

Web browsers store information in cabít on your computer. This includes your browsing history, saved login data, và cookies – all of which are recorded in order to lớn load the relevant pages more quickly the next time they’re visited.

Although they’re useful, caches can cause numerous issues when they become outdated. Fortunately, this problem is easily solved by clearing your cabít.

But before you bởi that, you can easily check khổng lồ see if it’s a browser cabít issue by first opening up your browser in incognikhổng lồ mode. Or you can try a different browser. If you’re still seeing the error, then you will want to proceed with clearing your cabịt.

Xem thêm: Cách Giảm Mỡ Bụng Sau Sinh Hiệu Quả Nhanh Nhất, 3 “Công Thức” Giảm Mỡ Bụng Sau Sinh Hiệu Quả

In this example, we’ll be using Google Chrome. Begin by opening up the primary thực đơn (in the top-right corner of your browser window). From there, select More Tools: You can then cliông xã on Clear browser data.

On the resulting page, you’ll need khổng lồ make sure that all listed file categories are selected. If they aren’t, Chrome won’t be able lớn empty the entire cabít. Instead, it will simply remove the most recent entries, which won’t result in the desired effect:

An alternative sầu method of completing this process is to enter the following URL into lớn your address bar:

chrome://settings/clearBrowserDataThe resulting screen should grant you access to the same options we’ve outlined above sầu. Here are some other helpful links for clearing cabịt.

9. Look at The Maximum Execution Time

The rest of the troubleshooting steps we’ll be diving into lớn are those that have sầu lớn bởi with the configuration of your WordPress site or server that may help fix the “ERR_CONNECTION_TIMED_OUT” error.

The first is the maximum execution time mix for your site. On most servers, the mặc định time is mix to 30 seconds. This is the amount of time a PHPhường script is allowed to run (after which it times out). On shared hosts, this is typically phối low or left at the default.

You can’t easily modify this from WordPress as the php.ini tệp tin is located on your server. To modify this, we recommkết thúc reaching out to lớn your hosting provider to see if they can help. At, we set the default maximum execution time to lớn 300 seconds.

"}" data-sheets-userformat=""2":6659,"3":"1":0,"4":"1":2,"2":16777215,"12":0,"14":"1":2,"2":0,"15":"Robokhổng lồ, RobotoDraft, Helvetica, Arial, sans-serif"">

If you want to try và modify this yourself, it can usually be done with one of the following options. Both will depover on how your hosting provider configures their servers.

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

If you have a php.ini tệp tin in your trang chủ directory, find the max_execution_time parameter và modify it. For example, if it’s set lớn 30 seconds, you can increase it to lớn 300 seconds.

max_execution_time = 300Option 2 – Modify Max Execution Time in .htacess FileIf the above option doesn’t work, you might be able khổng lồ change it within your .htaccess tệp tin. Just lượt thích with the php.ini tệp tin, this is typically located within your home directory. Place the following in the top of your .htaccess file:

php_value max_execution_time 300

10. Temporarily Disable Your Plugins

As with most WordPress errors, a plugin can definitely be the root of the problem. To determine if that’s what’s happening, you’ll need lớn disable all of your site’s plugins. However, if you’re getting the “ERR_CONNECTION_TIMED_OUT” error it means you don’t have sầu access to lớn your WordPress admin area. This means you will need to SFTPhường. into lớn your site. We recommover using FileZilla.

Once your SFTP client is ready, connect khổng lồ your website through it và navigate to lớn your WordPress root folder. In case you can’t find it, it’s usually called public_html, html, public, www, or your site’s name. If you’re a client, it’s your public folder.

xuất hiện that thư mục, & navigate to the wp-nội dung directory. Inside, you’ll see a folder called plugins, which contains individual subdirectories for each of the plugins installed on your site (both active sầu and inactive).

What you’re going to lớn vị now is right-cliông chồng on the plugins thư mục, và rename it lớn something else. We recommend plugins.old or plugins.deactivated, so you can easily recognize it later.

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

Now, try accessing your WordPress dashboard. If the timeout error is gone, then you can assume that one of your plugins was the culprit. All you have to vì chưng is figure out which one was at fault.

Return khổng lồ the wp-content directory, and rename your original plugins folder correctly. Then, you’ll need to lớn disable each of your plugins one by one, until you find the culprit.

To bởi this, open the wp-content/plugins directory. Inside, you’ll find one thư mục for each of your plugins. The process you’re going to follow is much the same as before:

Start with the first thư mục, & rename it to lớn anything you lượt thích.Cheông xã your trang web to lớn see if the error is gone.If it isn’t, return the plugin folder from the previous step to its original name.Move on to lớn the next plugin on your các mục, repeating the above sầu steps.

This process can take a while if you have a lot of plugins, but it’s vital lớn check each plugin in turn. If at any point you identify the plugin that’s causing the error, you can uninstall it or replace it with another tool.

If you make it lớn the kết thúc of these steps without finding a solution, you can move sầu on to lớn the next stage of troubleshooting.

11. Temporarily Revert to Default Theme

Now that you’ve sầu ruled out your plugins as the cause of the timeout error, it’s time to bởi the same with your active sầu theme. In fact, your theme could also be creating compatibility issues.

Unfortunately, the process doesn’t work the same as above. WordPress won’t revert lớn the mặc định theme if simply rename the theme thư mục, you would kết thúc up with an error like “The theme directory “theme name” does not exist.” Or if you try to rename the entire theme directory thư mục, you over up with “ERROR: The themes directory is either empty or doesn’t exist. Please check your installation.”

Therefore, you need to lớn access your WordPress database by logging into phpMyAdmin. If you’re a client, this can be found within the “Info” section of the dashboard.

Cliông chồng into the “wp_options” table, then cliông xã on the “Search” tab. You will want to tìm kiếm under the “option_name” for template.

Under the “option_value” column you will see the current name of your theme. Change this to one of the mặc định themes, such as “twentynineteen.”

Cheông xã your website again khổng lồ see if this has fixed the error. If it did, it simply means it’s a problem with your WordPress theme và you might want lớn try reinstalling it or reverting lớn your most recent backup.

12. Increase the Memory Limit

The WP_MEMORY_LIMIT parameter allows you lớn specify the maximum amount of memory that can be consumed by PHP. If you are using shared hosting, it’s most likely set lớn a low value such as 64M. At, we phối the mặc định memory limit to 256M.

You can increase the memory limit by adding the following lớn your wp-config.php tệp tin. This must be placed above sầu the wp-settings.php inclusion.

Xem thêm: Mùa Đông Nên Ăn Món Gì - 7 Món Ngon Hà Nội Không Thể Bỏ Qua Mùa Đông Này!

define( "WP_MEMORY_LIMIT", "256M" );

Not sure what your current PHPhường. memory limit is mix to? If you have sầu access to your WordPress dashboard và are running WordPress 5.2 or above sầu, you can see the PHP.. memory limit under the “Site Health” tool.

Can"t reach your site because of the *ERR_CONNECTION_TIMED_OUT* error message? Here are 12 possible ways khổng lồ fix it!
Chuyên mục: Công nghệ