Website Pricing Guide

Enter your email to get instant access to our website pricing guide.

How To Fix “Connection Refused” Error

November 30, 2023 by
Oh no. You’re trying to load a page on your website, but all you get is an ERR_CONNECTION_REFUSED error message. In many cases, this is caused by a gremlin on your device. Bad browser extensions, misbehaving proxies, and poor internet connections are all possible causes. But if you find the error popping up on someone […]


Oh no. You’re trying to load a page on your website, but all you get is an ERR_CONNECTION_REFUSED error message.

In many cases, this is caused by a gremlin on your device. Bad browser extensions, misbehaving proxies, and poor internet connections are all possible causes. But if you find the error popping up on someone else’s computer, or connected to a different Wi-Fi network, you might need to take action to fix your site.

If you’re not familiar with the ERR_CONNECTION_REFUSED error, knowing where to begin can be tricky. How do you even diagnose the problem? Well, this guide is a good place to start.

Keep reading to discover why this error happens, and how you can fix it.

What Is An ERR_CONNECTION_REFUSED Error?

ERR_CONNECTION_REFUSED is an error that can occur when you try to connect to a web server or other network service. It indicates that the server actively refused your connection attempt. This is usually because the server isn’t accepting incoming requests.

Technically, it’s worth noting that ERR_CONNECTION_REFUSED errors happen at the network connection level. That is, before any HTTP request is sent. That’s why you don’t see an HTTP status code ( like a 404 or 500).

The ERR_CONNECTION_REFUSED error is also different from getting no response at all. A refused connection means something is listening but rejected it. No response indicates that the server isn’t even listening.

Side By Side Diagram Showing The Computer Going To The Server, Received, But Ignored Versus Err_Connection_Timed_Out Where The Computer Goes To The Server With Absolutely No Server Response

What Causes ERR_CONNECTION_REFUSED Errors?

So, why is the server being so antisocial? Well, there could be several possible reasons:

  • The web server hasn’t got the proper software installed.
  • The incorrect server has been requested, or a DNS issue.
  • The server software has crashed, or there is server downtime due to maintenance.
  • The listening process has been stopped intentionally.
  • A firewall or some other software is blocking the port for incoming requests.
  • A faulty internet connection, or incorrect internet settings.

In other words, the troubleshooting process revolves around figuring out why the server is refusing requests. It could either be a problem on the client side (i.e., visitor devices) or on the server side.

What Does An ERR_CONNECTION_REFUSED Error Look Like?

Bear in mind that ERR_CONNECTION_REFUSED errors appear differently depending on which platform and browser you’re using.

On Google Chrome, you will see an error page that reads, “This site can’t be reached.”

Screenshot Of A &Quot;This Site Can'T Be Reached&Quot; Error In Google

Mozilla Firefox users who encounter an ERR_CONNECTION_REFUSED error will see a message that says, “Unable to connect Error.”

Screenshot Of A &Quot;Unable To Connect&Quot; Error In Mozilla

Meanwhile, those of us who use Microsoft Edge will get a different page, with the message, “Hmmm…can’t reach this page.”

Screenshot Of A &Quot;Hmmm...can'T Reach This Page&Quot; Error In Edge

How To Fix An ERR_CONNECTION_REFUSED Error

Now we know the issue we need to solve, it’s time to start making some investigations.

Whoa there, Sherlock! Before you start digging around on your server, it’s important to run a quick test. Are you seeing the error only when visiting your website, or does it appear on multiple sites?

If the problem is universal, you have a client-side error. Scroll down to the section on troubleshooting tips for visitors.

But if the ERR_CONNECTION_REFUSED message only appears for your website, you will need to take action to get your site working again.

Don’t worry, this shouldn’t take long. Here’s your checklist:

Disable Active Plugins

One common culprit for server-side issues is an incompatible or buggy plugin. If you have any plugins or extensions installed within your CMS, try disabling them and see if that resolves the issue.

DreamHost Glossary

Content Management System (CMS)

A Content Management System (CMS) is a software or application that provides a user-friendly interface for you to design, create, manage, and publish content.

Read More

In WordPress, you can disable plugins quickly from your dashboard:

  1. Go to Plugins > Installed Plugins.
  2. For each active plugin, click Deactivate.
  3. Check if the site works normally now, without plugins.

If the errors disappear, try reactivating your plugins one by one. Test the site after you enable each plugin.

If the error message crops up again, the plugin you last activated is the one to blame. If an update is available, make sure to install the current version.

Otherwise, it might be time to find an alternative.

Change Your Theme

Much like plugins and extensions, themes can be the cause of ERR_CONNECTION_REFUSED errors. This is most likely to happen if you’re using an outdated third-party theme.

To test whether a theme is causing your headaches, switch to an official theme made by the developer of your chosen CMS. In WordPress, this would mean switching to the Twenty Twenty-Three theme via your dashboard:

  1. Go to Appearance > Themes.
  2. Click Activate on Twenty Twenty-Three, or the latest default theme.
  3. Check if ERR_CONNECTION_REFUSED has resolved after making the switch.

If you no longer see an error, your custom theme probably needs an update or reset. Reach out to the developer of your theme for fixes, or consider changing to a different theme.

Increase Your PHP max_execution_time

Some connection errors happen because a script on your website is taking too long to execute. One way to address this is by increasing the max_execution_time in your PHP settings.

DreamHost Glossary

PHP

PHP (Hypertext Preprocessor) is an open-source scripting language. It’s widely used in web development and can be embedded in HTML. Several popular Content Management Systems (CMS), such as WordPress, are built with PHP.

Read More

To test whether this is the cause of your problems, try doubling it from 30 seconds to 60 seconds:

  1. Add this line to your wp-config.php file: ini_set( ‘max_execution_time’, 60 );
  2. Save changes and test if timeout errors reduce.

If you don’t have access to PHP configs, reach out to your web host for assistance with increasing timeouts.

Get In Touch With Your Host

If you’ve tried all the troubleshooting tips mentioned above and are still seeing ERR_CONNECTION_REFUSED, it’s a good idea to get in touch with your web host’s support team.

They have better access to key information, meaning they can investigate the problem at a deeper level.

Send them details about the error and when it seems to happen. Your host can then check server logs, load, configurations, and resource usage to pinpoint the cause.

Folks who host their website with DreamHost get 24/7 access to our excellent support team via live chat. They can diagnose any strange errors that pop up, and get your site back up and running smoothly.

How To Fix ERR_CONNECTION_REFUSED Errors As A Visitor

As you try to track down the cause of your ERR_CONNECTION_REFUSED woes, it’s worth bearing in mind that these errors often come from the client side. In other words, something that is specific to your device or network.

If you’re seeing errors popping up all over the place, try following these troubleshooting steps:

Clear Out Your Browser

An easy place to start is by clearing your browser cache and cookies.

As you explore the web, your browser saves files locally for quick access. These files can get corrupted, leading to connectivity issues like refused connections.

The process for clearing out your cache and cookies usually involves visiting your browser settings menu. On the desktop version of Chrome, the process looks like this:

  1. To the right of the address bar, click the three dots in the menu bar.
  2. Select Settings from the drop-down menu.
  3. Navigate to Privacy and Security > Clear Browsing Data.
  4. Select Cached images and files and Cookies and other site data, before clicking Clear.
Screenshot Of The &Quot;Privacy And Security&Quot; Menu In Chrome With Attention To The &Quot;Clear Browsing Data&Quot; Option On The Right Side

Then, try to reload the webpage to see if the error has cleared.

Check Your Internet Connection

One common cause of the ERR_CONNECTION_REFUSED error is an unreliable internet connection.

If you’re at home, check that the status lights on your router are lit up as usual. Red lights can mean that the internet connection to your home isn’t working properly.

The problem may resolve itself in a few minutes. Otherwise, you might need to get in touch with your ISP (Internet Service Provider).

If you don’t have easy access to the router, you can check your connection by running a speed test. Google has one built in; Just search for “speed test” and follow the instructions provided.

Bear in mind that it’s not always the actual internet connection that is to blame — Sometimes, routers misbehave. To check your Wi-Fi connection:

  • On Windows: In the Control Panel, go to Network and Internet > Network and Sharing Center, and select the blue Wi-Fi link.
  • On Mac: Hold the option key, and click the Wi-Fi icon on the status bar at the top of your screen. Then, select Wireless Diagnostics from the menu.

Restart Your Device

Sometimes, all you need is a simple restart to clear up connection issues.

Try rebooting your computer, phone, tablet, or even your router if you can easily gain access to the power button or unplug the power supply.

This process flushes the DNS resolver cache, meaning that any invalid DNS address will be washed away. Restarting your devices will also reset certain network settings to the original default settings.

(It’s also possible to flush your DNS cache manually without having to turn off your device).

Dive Into Your DNS Settings

When a simple reboot doesn’t do the trick, it might be because the DNS configuration you are using isn’t working correctly. This can cause errors because your browser doesn’t know where to find the website you want.

To test this possible cause, you will need to switch to an alternate DNS server. You can do this by visiting the internet settings panel on your device and finding the DNS configuration options:

On Windows: Open Start and type “Control panel” in the search bar. Click on the app to open and navigate to Network and Sharing Center. Click on your current network next to “Connections” and then open Properties. Click Use the following DNS server addresses.

Type in one of the public DNS addresses listed below.

A Screen-To-Screen Flow Of The Workflow To Reset The Dns Server In Windows

On Mac: In System Settings, open Network. Then, click the Advanced… button in the bottom right, and select the DNS tab.

Screenshot Of The Dns Screen In Mac Settings Where A User Can Update Thedns

Here, you should see your current DNS server address. This is usually owned by your internet provider. Add or replace this with the IP addresses of public DNS servers. Here are some popular options:

  • Google Public DNS: 8.8.8.8 or 8.8.4.4
  • Cloudflare DNS: 1.1.1.1 or 1.0.0.1
  • OpenDNS Home: 208.67.222.222 or 208.67.220.220

If this fixes your problem, you can either keep your new server IP address or get in touch with your ISP for additional help.

Just remember, your DNS cache could be to blame. This holds temporary entries to speed up the page loading process. However, outdated DNS cache entries can block domains. If in doubt, restart your device or manually clear your DNS cache.

(Temporarily) Disable Your Security Software

Using a firewall and antivirus software is wise if you want to keep your devices secure. Unfortunately, overzealous security tools can sometimes block connections — leading to client-side issues.

To test whether firewall interference or antivirus protection is causing your ERR_CONNECTION_REFUSED errors, try temporarily disabling your security programs and see if it makes a difference.

If you’re using the built-in Defender Firewall on Windows:

  1. Head to Settings > Privacy & security> Windows Security.
  2. Click on Firewall & network protection.
  3. Select: Domain network.
  4. Under Microsoft Defender Firewall switch the setting to Off.

Don’t leave it off permanently though! If you discover that certain domain names are being blocked, make sure to whitelist them in your chosen app.

Check Proxy Settings

Much like security software, proxies and VPN services can interfere with connections and domain name resolution, leading to ERR_CONNECTION_REFUSED errors.

To check if your proxy server settings are causing issues on Windows:

  1. Visit the Control Panel.
  2. Go to Network and Internet > Internet Options > Connections > LAN Settings.
  3. Deselect two options: Automatically detect settings and Use a proxy server for your LAN.
  4. Save the changes by clicking Ok.

On Mac:

  1. Open up System preferences.
  2. Navigate to Network > Advanced > Proxies.
  3. Make sure all proxy protocols in the list are unchecked.
  4. Click Ok to save any changes.

Try loading the site again — if the error goes away, you know the proxy was at fault. Explore your network settings, or ask your network admin to allow access to any mistakenly blocked domains.

Given the privacy implications, removing proxy protection isn’t a long-term solution. However, disabling it temporarily can help you to pin down technical errors.

Disable Browser Extensions

Some ad blockers, tracking protection extensions, or VPN plug-ins added to your browser can inadvertently block access to certain sites and cause ERR_CONNECTION_REFUSED.

We see this most often with Chrome Extensions, mainly because they’re so popular.

To test if Chrome Extension issues are to blame:

  1. Click the three dots in the top-right corner, just along the search bar.
  2. Open the Extensions menu by navigating to Tools > Extensions.
  3. For each extension installed, toggle it to Off to disable it. Alternatively, you can click Remove on suspicious extensions to uninstall completely.

After disabling or removing extensions, try reloading the website displaying the error. If the site now works, turn extensions back on one by one until you identify the problematic plugin.

Make sure to note which extension caused the issue, and rummage through the settings to see whether it is set up to block any domains. Many privacy extensions have options to whitelist certain domains to get around this problem.

Take A Peek At Your .hosts File

If none of the above is making any difference, you might have a case of the .hosts file blues.

Traditionally speaking, this file is pretty helpful. It maps hostnames (like DreamHost.com) to IP addresses (like 192.0.2.235). The problem is some apps use this file to block access to specific domains.

You can find a .hosts file in every operating system:

In Windows open the Start menu and type “Notepad” in the search bar. Right-click the app and click Run as administrator. Once Notepad is open, click File > Open. Then, enter this file name into the text box: C:WindowsSystem32driversetc

Screenshot Of The Notepad Open File, File Name Location Of Hosts Files In Windows

For macOS, hop to Finder and navigate to /etc/hosts

Sceenshot Of The Private/Etc/Hosts File In Mac

For all other operating systems:

  • Linux/Unix: Check out /etc/hosts
  • Android: Using any file browser app, navigate to /system/etc/hosts
  • iOS: Via the Files app, go to /etc/hosts

Open the file and check for any blocked or redirected domains. If you find any, edit the file to remove those entries. Then, see if you still have an error when loading websites.

Reinstall Your Browser

If you’ve tried all other troubleshooting steps and are still seeing ERR_CONNECTION_REFUSED errors, a clean reinstall of your web browser may help resolve any corrupted files or settings causing issues.

Here’s what you need to do:

  1. Close all windows and quit the browser completely.
  2. On Windows, go to Start > Settings > Apps > Apps & features. On Mac, head over to Finder > Applications.
  3. Search for your internet browser, and uninstall the app. Confirm any prompts to fully uninstall.
  4. Next, restart your computer. This helps to flush any cached files.
  5. Download the latest version of your chosen browser. Make sure to visit the official source.
  6. Run through the reinstallation process. Make sure to deselect any options to import previous data.

Once the browser is installed, try loading the problematic sites again. The fresh install should not have any corrupted extensions, caches, or configurations that could cause issues.

If you continue to see connection issues, the problem likely lies elsewhere, such as with your network setup or the website’s server configuration. But reinstalling the browser is worth trying, just to rule out any client-side corruption. Make sure to back up bookmarks and your passwords before uninstalling!

Fix Errors Faster With DreamHost

From clearing caches, and fixing internet-related issues, to tracking down incorrect firewall settings, we’ve walked through a lot of troubleshooting methods in this guide.

In most cases, you won’t need to use every possible solution. Using simple tests, you should be able to figure out the likely problem:

  • Do you only get ERR_CONNECTION_REFUSED errors on one website? Chances are, it’s a server-side issue.
  • Seeing ERR_CONNECTION_REFUSED errors on multiple sites? It is almost certainly a client-side problem.

While we can’t fix your internet connection or your proxy problems, we can fix your website if it starts showing an error.

All of our hosting packages come with 24/7 live support, and our expert staff can handle any technical query you have.

Sounds good? Sign up for hosting today to give it a try for yourself.

Get Content Delivered Straight to Your Inbox

Subscribe now to receive all the latest updates, delivered directly to your inbox.

Luke is the Director of IT Operations. He is responsible for the teams that keep operations running smoothly… In his free time, he enjoys reading fantasy/sci-fi and hanging out with his wife and 4 kids. Connect with Luke on LinkedIn: https://www.linkedin.com/in/luke-odom-039986a/

Your Dream Website Is Just One Click Away

At Ericks Webs Design, we believe every business deserves a stunning online presence — without the stress. We offer flexible payment options, a friendly team that truly cares, and expert support every step of the way.

Whether you’re a small business owner, a church, or a growing brand, we’re here to bring your vision to life.

✨ Let’s build something amazing together.

— no pressure, just possibilities.

Latest News & Website Design Tips

Stay up-to-date with the latest insights, trends, and tips in business website design. Explore our newest articles to discover strategies that can help you elevate your online presence and grow your business.

Show Off Your Best Work Online: How a Website Becomes Your Digital Portfolio

Show Off Your Best Work Online: How a Website Becomes Your Digital Portfolio

In today’s competitive construction market, establishing an online presence is crucial for attracting clients. Many skilled professionals risk losing valuable opportunities due to the absence of a digital portfolio, making them virtually invisible to potential customers searching online. A custom website not only showcases your best projects through compelling imagery but also fosters client trust and simplifies the communication process through easy quote requests. By optimizing for search engines, you can ensure your business appears in relevant searches, driving leads directly to you. Partnering with experts who understand the unique needs of local contractors can significantly elevate your visibility and credibility, setting you apart from competitors.

Key Features Every Dentist Website Should Include

Key Features Every Dentist Website Should Include

Every dentist website should include essential features to attract and retain patients effectively. Key components include a modern, user-friendly design for a strong first impression, mobile optimization for accessibility, and a clear outline of services offered. Easy-to-find contact information and an educational blog enhance patient engagement, while testimonials build trust. Incorporating online booking simplifies appointment scheduling, and an ‘About Us’ section personalizes the practice. For diverse communities, bilingual content is crucial. Lastly, ensure compliance with privacy laws and secure communication. A well-designed dentist website is vital for establishing a successful online presence and growing your practice.

5 Ways a Website Brings You More Construction Leads Every Month

5 Ways a Website Brings You More Construction Leads Every Month

In today’s competitive construction market, a professional website is essential for attracting new leads. It acts as your digital storefront, showcasing past projects and customer testimonials that build trust with potential clients. Optimizing your site for local searches can help you appear on Google Maps, making it easier for customers in your area to find you. Incorporating simple quote requests and compelling calls to action enhances user experience and encourages engagement. Furthermore, establishing a strong local brand identity through community involvement and customer feedback sets you apart from competitors, making your business more relatable and trustworthy. A well-crafted website not only enhances visibility but is a crucial tool for sustained growth.

How to Tell Your Business Story on Your Website

How to Tell Your Business Story on Your Website

The article “How to Tell Your Business Story on Your Website” emphasizes the importance of effectively sharing your business story online, particularly for small businesses in South Texas. It highlights that a compelling narrative embodies your values and connects emotionally with customers. Key steps include identifying core values, knowing your target audience, crafting a relatable narrative, incorporating visual elements, and concluding with a strong call to action. By doing so, businesses can engage visitors and establish trust. Ericks Web Design encourages business owners to polish their narratives and enhance their online presence to create meaningful connections with their audience.

The #1 Reason Construction Businesses Are Missing Out on Thousands in Contracts

The #1 Reason Construction Businesses Are Missing Out on Thousands in Contracts

Many construction businesses struggle to secure contracts simply because they lack a strong online presence. Prospective clients increasingly rely on searching for services online, and without an accessible, professional website, businesses can fall off their radar. A custom website not only showcases completed projects but also establishes credibility, making it easier for potential clients to connect. With effective SEO strategies, contractors can improve their visibility in local searches, ensuring they don’t miss out on valuable opportunities. In today’s digital age, investing in a robust online platform is essential for staying competitive and connected to clients who need their services.

What to Write on Your About Page (With Examples)

What to Write on Your About Page (With Examples)

The article “What to Write on Your About Page (With Examples)” emphasizes the importance of an effective About page for small businesses, especially in McAllen, Texas. It highlights key elements to include: an introduction of yourself and your team, sharing your mission and values, telling your story, showcasing your expertise, and including testimonials. This page should create a personal connection with potential customers, building trust and credibility. By sharing your journey and demonstrating your commitment to quality service, you can enhance your online presence and attract loyal clients. An engaging About page is crucial for transforming visitors into customers, helping your business thrive.

Why Your Word-of-Mouth Strategy Is Failing — And How a Website Fixes It

Why Your Word-of-Mouth Strategy Is Failing — And How a Website Fixes It

Many contractors in South Texas rely too heavily on word-of-mouth for business, which limits their reach and customer engagement. While personal referrals are valuable, the increasing competition and digital shift mean that a lack of online visibility can cost potential clients. A well-designed website serves as a crucial marketing tool, showcasing work, capturing leads, and optimizing search engine rankings. This digital presence not only enhances brand identity but also facilitates local discovery, ensuring contractors can connect with clients actively searching for services. Embracing a website can revolutionize client interactions and ultimately drive business growth.

Why Dental Clinics Need a Website That Smiles Back

Why Dental Clinics Need a Website That Smiles Back

The article “Why Dental Clinics Need a Website That Smiles Back” emphasizes the importance of having a strong online presence for dental practices. It highlights that 77% of patients conduct online research before booking appointments, making a user-friendly website essential. A well-designed site acts as a digital business card, showcasing the clinic’s personality and inviting atmosphere. Key features like easy contact forms and scheduling tools enhance user experience. While investing in a website may seem daunting, it ultimately saves time and attracts new patients. The article encourages dental clinics to create websites that reflect their warm, welcoming vibe and invite potential patients to engage.

No Trust: Why Homeowners Skip Over Construction Companies Without a Website

No Trust: Why Homeowners Skip Over Construction Companies Without a Website

The article “No Trust: Why Homeowners Skip Over Construction Companies Without a Website” emphasizes the critical need for construction companies, particularly in South Texas, to establish an online presence. Homeowners increasingly rely on Google for finding contractors, and without a website, businesses risk losing potential clients to competitors. Common challenges include disappearing leads, poor online visibility, and over-reliance on referrals. A custom website can address these issues by showcasing projects, building trust with professional designs, and streamlining contact processes. Ultimately, having a website is essential for attracting clients and enhancing a construction company’s credibility in today’s digital landscape.

How to Build Trust for Online Shoppers

How to Build Trust for Online Shoppers

The article “How to Build Trust for Online Shoppers” highlights essential strategies for small business owners in South Texas to foster trust among potential customers. Trust is critical in online shopping, as consumers often rely on online reviews, quality images, and secure payment options to make decisions. Key tips include showcasing authentic customer reviews, using high-quality product images and descriptions, ensuring secure payment methods, communicating transparent policies, and engaging with customers on social media. By implementing these tactics, businesses can enhance their credibility and build lasting customer relationships, ultimately driving sales and improving their online presence.