Key Takeaways
- ERR_CONNECTION_REFUSED means the browser tried to load a site but the connection was refused.
- Sometimes it’s on your end (Wi-Fi, cache, DNS). Other times the server is to blame.
- Quick fixes include checking if the site is up, restarting your router, or clearing browser data.
- Site owners can avoid a lot of this with managed hosting like Cloudways, which handles server tuning, DNS, and support.
ERR_CONNECTION_REFUSED pops up when Chrome won’t open a site. Instead of the page, you just get told the connection was refused.
It doesn’t always mean something is broken forever. Sometimes it’s your Wi-Fi being unstable. Sometimes the site is misconfigured. Other times the browser cache just gets in the way.
The annoying part is the message itself doesn’t tell you much. You have to figure it out what this common WordPress error means. That’s what this post is for: plain fixes you can try, starting from the easy ones and moving up to server checks if you run a site.
Table of Contents
- What is the ERR_CONNECTION_REFUSED Error?
- Common Causes of the ERR_CONNECTION_REFUSED Error
- How to Troubleshoot and Fix the ERR_CONNECTION_REFUSED Error
- Advanced Fixes for the ERR_CONNECTION_REFUSED Error
- What to Do if the ERR_CONNECTION_REFUSED Error Persists
- How Cloudways Can Help Prevent ERR_CONNECTION_REFUSED Errors in the Future
- Conclusion: Fixing the ERR_CONNECTION_REFUSED Error Made Easy
What is the ERR_CONNECTION_REFUSED Error?
When you see ERR_CONNECTION_REFUSED, it means your browser tried to talk to a website’s server and the server rejected the request.

That’s not the same as a timeout. A timeout means the site never answered. A refusal means it did answer but would not let the page load.
In many cases the problem is on your end. Weak Wi-Fi, bad cache, or DNS hiccups are common triggers. Other times it is the server, for example when a firewall is blocking traffic or the setup is broken.
If you own the site, don’t forget to look at your server logs and firewall settings. That is usually where the real cause shows up.
Common Causes of the ERR_CONNECTION_REFUSED Error
The ERR_CONNECTION_REFUSED error doesn’t come from one single cause. It can be your device, your network, or even the server itself. Here are the most common ones:
1. Poor Internet Connection
A weak or dropping connection can cut off requests mid-way. If calls or video lag on the same network, this might be the reason.

To eliminate this possibility, try testing your connection speed and stability with a service like Speedtest.net, and also try loading other websites to see if it shakes your connectivity issues.
2. Outdated Browser Cache and Cookies
Old or corrupted data in your browser can block pages from loading. Clearing them often fixes it.

If your browser’s cache and cookies are cleared, it will discard the old data and get the latest version of the site, instead of possibly broken saved data.
3. Proxy and VPN Interference
Some servers refuse traffic from unknown or rerouted IPs. Disconnecting the VPN or proxy is an easy test.
4. Firewall or Antivirus Blockages
Security tools sometimes block good traffic by mistake. Turn them off briefly to see if they are the cause, then add exceptions.

If nothing else seems to be causing the issue, it might make sense to disable these until you diagnose if they are the cause of the issues you are experiencing.
5. DNS Issues or Incorrect DNS Settings
If your computer’s network cannot resolve the domain of the website to an IP address because of a DNS problem, the connection will be rejected.
Use public DNS servers that will not lead to this problem. Good public DNS servers to try are Google (8.8.8.8, 8.8.4.4) and Cloudflare (1.1.1.1).
6. Server Misconfigurations
Sometimes the problem isn’t at your end. The server, if misconfigured or down for maintenance, might actively reject the incoming connection.
Hosting companies such as Cloudways provide server settings optimized out of the box, and an ability to intervene quickly if a server goes down to get it back online rapidly.

How to Troubleshoot and Fix the ERR_CONNECTION_REFUSED Error
Now that you know the potential causes, let’s look at practical steps you can take to fix the issue. The steps are arranged from smallest to largest, so you can rule out basic issues before you make major changes.
Check if the Website is Down
Before you start messing with your own system, see whether or not the issue is with the site. Check with free sites knowledgeable about the site uptime like Down For Everyone or Just Me.

If you are using Cloudways, you get built-in uptime monitoring that sends you an alert if your hosted site goes down.

Restart Your Router and Computer
Sometimes, simply restarting everything can refresh your network connection and eliminate transient problems.
Turn the router off for at least 30 seconds. After restarting the router, make sure to restart your computer so it can refresh its settings.
Clear Browser Cache and Cookies
If the issue is stale files causing the issue, deleting your browser data could resolve the problem as well.
In Chrome, navigate to Settings → Privacy and Security → Clear browsing data and check Cached images and files and Cookies and other site data.

Cloudways customers, on the other hand, can set their server-side caches for their optimizations and thus their potential stale content issues being minimal.

Disable Proxy and VPN
Go into your system’s network settings and disable any proxy server you have configured. Go off the VPN if you are using one and check to see if the browser will go to the page again to see if this extra routing is involved in the issue.

Temporarily Disable Your Firewall or Antivirus Software
Turn off your firewall or antivirus briefly to test. If the site loads, add an exception for it, then turn protection back on right away.
Flush DNS Cache
Your DNS cache may have the wrong ip address stored sometimes. A simple way of flushing it is by using a command prompt if you have Windows or terminal if you have a Mac. Then run the following commands.
For Windows:
ipconfig /flushdns

For Mac:
sudo dscacheutil -flushcache; sudo killall -HUP mDNSResponder
After flushing the DNS, try reloading the site to check the website status.
Change Your DNS Settings to Google or Cloudflare DNS
Switching a DNS provider can fix many connectivity issues. In your network settings, configure it manually to use:
- Google DNS: 8.8.8.8, 8.8.4.4
- Cloudflare DNS: 1.1.1.1, 1.0.0.1
Cloudways has DNS management and ensures that your domain and hosting server are connected properly.
Disable Extensions in Google Chrome or Other Browsers
At times, an extension can interfere with network requests. Disable all extensions, or disable them one by one.

Reinstall Your Browser
If all else fails, reinstalling your browser can fix any deep configuration issues. Cloudways manages server-side configurations and monitors performance to reduce connection problems. If you run into issues while browsing, they are usually on the client side.
Advanced Fixes for the ERR_CONNECTION_REFUSED Error
After the basic steps have failed and you are still encountering problems, you may be dealing with server level issues or advanced network configuration. Connection refusals can also affect SSH access. If remote login fails, see how to fix the SSH connection refused error.
1. Inspect and Modify Your Hosts File
Your system hosts file can override DNS lookups on your system. If you have assigned a wrong IP for the domain you are trying to connect to, your request will be refused.
To view the hosts file on Windows, use a text file editor with admin rights (notepad or notepad++). Check for incorrect entries and remove them.
2. Check for Issues with Your SSL Certificates (HTTPS)
Expired and invalid SSL certificates can lead to browsers refusing connections. You can check the health of your certificates with tools like Inspect a Certificate from SSL Labs. Cloudways handles your SSL renewal and security updates automatically, keeping your certificates valid.
3. Test Different Ports and Server Configurations
If the server is not listening on the expected port or has firewall restrictions in place, your request may be rejected. Cloudways’ CPU optimized server settings help minimize such issues by keeping port configurations in check.
What to Do if the ERR_CONNECTION_REFUSED Error Persists
If none of the troubleshooting steps work, the problem is likely on the server side.
Contact Your Web Hosting Provider
Reach out to your hosting support team for help. Cloudways offers 24/7 live chat and ticket-based support, allowing quick resolution of server-level issues.
Troubleshooting Server-Side Problems on Cloudways
Cloudways provides scalability, performance optimization, and server health monitoring. If a server issue is detected, Cloudways engineers can apply fixes immediately, often before customers even notice downtime.
Avoid Connection Errors with Reliable Hosting
Don’t let errors slow down your site. With fast and secure WordPress hosting, you can keep your website online and running smoothly for every visitor.
How Cloudways Can Help Prevent ERR_CONNECTION_REFUSED Errors in the Future
Let’s explore how Cloudways can help you avoid the ERR_CONNECTION_REFUSED error.
Automated Server Monitoring and Maintenance
Cloudways regularly monitors its servers and automatically performs updates or scaling when users encounter increased traffic. This greatly minimizes your risk of connection problems.
Cloudways’ Fast Caching and CDN Integration
Cloudways uses advanced caching systems to deploy CDN resources in every corner of the globe to enhance performance, and to improve loading times and connection issues for users everywhere.
Conclusion: Fixing the ERR_CONNECTION_REFUSED Error Made Easy
ERR_CONNECTION_REFUSED looks serious, but most of the time the fix is simple. Start with small checks like your Wi-Fi, router, or browser cache, then move on to DNS and firewall settings if needed.
If you own a website, many of the server-side causes are prevented with managed hosting. Cloudways keeps servers tuned, SSL updated, and traffic monitored so issues are fixed before they affect visitors.
Salwa Mujtaba
Salwa Mujtaba is a Technical Content Writer at Cloudways. With a strong background in Computer Science and prior experience as a team lead in Cloudways Operations, she brings a deep understanding of the Cloudways Platform to her writing. Salwa creates content that simplifies complex concepts, making them accessible and engaging for readers. When she's not writing, you can find her enjoying good music, reading a book, or spending quality time with her family.