{"id":42481,"date":"2023-11-30T07:00:31","date_gmt":"2023-11-30T15:00:31","guid":{"rendered":"https:\/\/dhblog.dream.press\/blog\/?p=42481"},"modified":"2026-03-11T08:34:47","modified_gmt":"2026-03-11T15:34:47","slug":"how-to-fix-connection-refused-error","status":"publish","type":"post","link":"https:\/\/www-dev.dreamhost.com\/blog\/how-to-fix-connection-refused-error\/","title":{"rendered":"How To Resolve The ERR_CONNECTION_REFUSED Error"},"content":{"rendered":"\n<p>Oh no. You&#8217;re trying to load a page on your website, but all you get is an <a href=\"https:\/\/help.dreamhost.com\/hc\/en-us\/articles\/216475397-Troubleshooting-a-single-site-s-connection\" target=\"_blank\" rel=\"noopener\">ERR_CONNECTION_REFUSED<\/a> error message.<\/p>\n\n\n\n<p>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&#8217;s computer, or connected to a different Wi-Fi network, you might need to take action to fix your site.<\/p>\n\n\n\n<p>If you&#8217;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.<\/p>\n\n\n\n<p>Keep reading to discover why this error happens, and how you can fix it.<\/p>\n\n\n\n<div class=\"liftoff-cta-card\">\n\t<div class=\"line\">\n\t\t<svg width=\"834\" height=\"469\" viewBox=\"0 0 834 469\" fill=\"none\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\">\n<path opacity=\"0.7\" d=\"M865.739 -59.8017C865.739 -59.8017 832.792 123.045 744.31 182.376C655.829 241.707 562.417 143.097 474.164 202.767C386.505 262.036 442.275 384.659 354.504 443.76C266.434 503.061 98.0198 364.278 4.7754 318.308\" stroke=\"url(#paint0_linear_8_19)\" stroke-opacity=\"0.25\" stroke-width=\"19.8\"\/>\n<defs>\n<linearGradient id=\"paint0_linear_8_19\" x1=\"918.374\" y1=\"-112.088\" x2=\"147.486\" y2=\"548.265\" gradientUnits=\"userSpaceOnUse\">\n<stop offset=\"0.0576923\"\/>\n<stop offset=\"0.350962\" stop-color=\"#0073EC\"\/>\n<stop offset=\"0.825067\" stop-color=\"#C265FE\"\/>\n<stop offset=\"1\"\/>\n<\/linearGradient>\n<\/defs>\n<\/svg>\n\n\t<\/div>\n\t<div class=\"liftoff-cta-card__content\">\n\t\t<div class=\"headline_1\">\n\t\t\t\n<svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"32\" height=\"32\" viewBox=\"0 0 32 32\" fill=\"none\">\n<path d=\"M24.0006 16.0019C19.5835 16.0019 16.0015 19.5839 16.0015 24.001V32.0001H32.003V15.9985H24.0039L24.0006 16.0019Z\" fill=\"url(#paint0_linear_3747_604)\"\/>\n<path d=\"M16.0015 7.99911V0H0V16.0016H7.99906C12.4162 16.0016 15.9981 12.4196 15.9981 8.00247L16.0015 7.99911Z\" fill=\"url(#paint1_linear_3747_604)\"\/>\n<path d=\"M7.99902 16.002C12.4168 16.002 15.998 19.5832 15.998 24.001C15.9979 28.4186 12.4167 32 7.99902 32C3.58137 32 0.000149208 28.4186 0 24.001C0 19.5832 3.58128 16.002 7.99902 16.002ZM24.001 0C28.4185 0.000241972 32 3.58143 32 7.99902C32 12.4167 28.4185 15.9978 24.001 15.998C19.5832 15.998 16.002 12.4168 16.002 7.99902C16.002 3.58128 19.5832 0 24.001 0Z\" fill=\"url(#paint2_linear_3747_604)\"\/>\n<rect x=\"8\" y=\"8\" width=\"16\" height=\"16\" fill=\"#FFFFFF\"\/>\n<path d=\"M16.0015 7.99902H24.0006V15.9981C19.5835 15.9981 16.0015 12.4128 16.0015 7.99902Z\" fill=\"#18181B\"\/>\n<path d=\"M7.99908 16.0015L7.99908 8.00235H15.9981C15.9981 12.4195 12.4128 16.0015 7.99908 16.0015Z\" fill=\"#18181B\"\/>\n<path d=\"M16.0015 24.0005H8.00246V16.0014C12.4196 16.0014 16.0015 19.5867 16.0015 24.0005Z\" fill=\"#18181B\"\/>\n<path d=\"M24.0007 16.0015V24.0006H16.0016C16.0016 19.5835 19.5869 16.0015 24.0007 16.0015Z\" fill=\"#18181B\"\/>\n<defs>\n<linearGradient id=\"paint0_linear_3747_604\" x1=\"16.0001\" y1=\"16.0002\" x2=\"32.0001\" y2=\"32.0002\" gradientUnits=\"userSpaceOnUse\">\n<stop stop-color=\"#A1A1AA\"\/>\n<stop offset=\"1\" stop-color=\"#C7C7CD\"\/>\n<\/linearGradient>\n<linearGradient id=\"paint1_linear_3747_604\" x1=\"0\" y1=\"0\" x2=\"16\" y2=\"16\" gradientUnits=\"userSpaceOnUse\">\n<stop offset=\"0.251049\" stop-color=\"#C7C7CD\"\/>\n<stop offset=\"1\" stop-color=\"#A1A1AA\"\/>\n<\/linearGradient>\n<linearGradient id=\"paint2_linear_3747_604\" x1=\"-11.3782\" y1=\"44.9411\" x2=\"-8.40086\" y2=\"-18.7449\" gradientUnits=\"userSpaceOnUse\">\n<stop stop-color=\"#BE59FF\"\/>\n<stop offset=\"0.19\" stop-color=\"#9D60FF\"\/>\n<stop offset=\"0.74\" stop-color=\"#4274FF\"\/>\n<stop offset=\"1\" stop-color=\"#1F7CFF\"\/>\n<\/linearGradient>\n<\/defs>\n<\/svg>\n\n\t\t\tMeet Remixer\n\t\t<\/div>\n\t\t<div class=\"headline_2\">You describe it. Remixer builds it.<\/div>\n\t\t<p>The AI website builder that turns conversation into designer-level sites. Free with hosting.<\/p>\n\t\t        <a\n            href=\"https:\/\/www.dreamhost.com\/remixer-website-builder\/\"\n                        class=\"btn btn--brand\"\n                                    target=\"_blank\"\n            rel=\"noopener noreferrer\"\n            >\n                            Start Free Trial                    <\/a>\n\n\t<\/div>\n\t<div class=\"tr-img-wrap-outer\"><img decoding=\"async\" data-skip-lazy class=\"\" src=\"https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/uploads\/2026\/03\/remixer-screen.webp\" alt=\"DreamHost Remixer AI website builder\" \/><\/div>\n<\/div>\n\n\n<h2 id=\"definition\" class=\"wp-block-heading\">What Is An ERR_CONNECTION_REFUSED Error?<\/h2>\n\n\n\n<p>ERR_CONNECTION_REFUSED is an error that can occur when you try to connect to a <a href=\"https:\/\/www.dreamhost.com\/glossary\/hosting\/server\/\" target=\"_blank\" rel=\"noopener\">web server<\/a> or other network service. It indicates that the server actively refused your connection attempt. This is usually because the server isn&#8217;t accepting incoming requests.<\/p>\n\n\n\n<p>Technically, it&#8217;s worth noting that ERR_CONNECTION_REFUSED errors happen at the network connection level. That is, before any <a href=\"https:\/\/help.dreamhost.com\/hc\/en-us\/articles\/360036487692-HTTP-Headers-overview\" target=\"_blank\" rel=\"noopener\">HTTP request<\/a> is sent. That&#8217;s why you don&#8217;t see an <a href=\"https:\/\/www.dreamhost.com\/blog\/502-bad-gateway-error\/\" target=\"_blank\" rel=\"noopener\">HTTP status code<\/a> ( like a <a href=\"https:\/\/www.dreamhost.com\/blog\/how-to-fix-wordpress-404-error\/\" target=\"_blank\" rel=\"noopener\">404<\/a> or <a href=\"https:\/\/www.dreamhost.com\/blog\/how-to-fix-wordpress-internal-server-error\/\" target=\"_blank\" rel=\"noopener\">500<\/a>).<\/p>\n\n\n\n<p>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&#8217;t even listening.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" width=\"1600\" height=\"942\" data-src=\"https:\/\/www.dreamhost.com\/blog\/wp-content\/uploads\/2023\/11\/ERR_CONNECTION_-REFUSED-vs-ERR_CONNECTION_-TIMED_OUT.jpg\" alt=\"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\" class=\"wp-image-42504 lazyload\" data-srcset=\"https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/smush-webp\/2023\/11\/ERR_CONNECTION_-REFUSED-vs-ERR_CONNECTION_-TIMED_OUT.jpg.webp 1600w, https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/uploads\/2023\/11\/ERR_CONNECTION_-REFUSED-vs-ERR_CONNECTION_-TIMED_OUT-300x177.jpg 300w, https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/uploads\/2023\/11\/ERR_CONNECTION_-REFUSED-vs-ERR_CONNECTION_-TIMED_OUT-1024x603.jpg 1024w, https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/uploads\/2023\/11\/ERR_CONNECTION_-REFUSED-vs-ERR_CONNECTION_-TIMED_OUT-768x452.jpg 768w, https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/uploads\/2023\/11\/ERR_CONNECTION_-REFUSED-vs-ERR_CONNECTION_-TIMED_OUT-1536x904.jpg 1536w, https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/smush-webp\/2023\/11\/ERR_CONNECTION_-REFUSED-vs-ERR_CONNECTION_-TIMED_OUT-600x353.jpg.webp 600w, https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/smush-webp\/2023\/11\/ERR_CONNECTION_-REFUSED-vs-ERR_CONNECTION_-TIMED_OUT-1200x707.jpg.webp 1200w, https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/smush-webp\/2023\/11\/ERR_CONNECTION_-REFUSED-vs-ERR_CONNECTION_-TIMED_OUT-730x430.jpg.webp 730w, https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/smush-webp\/2023\/11\/ERR_CONNECTION_-REFUSED-vs-ERR_CONNECTION_-TIMED_OUT-1460x860.jpg.webp 1460w, https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/smush-webp\/2023\/11\/ERR_CONNECTION_-REFUSED-vs-ERR_CONNECTION_-TIMED_OUT-784x462.jpg.webp 784w, https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/smush-webp\/2023\/11\/ERR_CONNECTION_-REFUSED-vs-ERR_CONNECTION_-TIMED_OUT-1568x923.jpg.webp 1568w, https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/smush-webp\/2023\/11\/ERR_CONNECTION_-REFUSED-vs-ERR_CONNECTION_-TIMED_OUT-877x516.jpg.webp 877w\" data-sizes=\"(max-width: 1600px) 100vw, 1600px\" src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==\" style=\"--smush-placeholder-width: 1600px; --smush-placeholder-aspect-ratio: 1600\/942;\" \/><\/figure>\n\n\n\n<h3 class=\"wp-block-heading\">What Causes ERR_CONNECTION_REFUSED Errors?<\/h3>\n\n\n\n<p>So, why is the server being so antisocial? Well, there could be several possible reasons:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>The web server hasn&#8217;t got the proper software installed.<\/li>\n\n\n\n<li>The incorrect server has been requested, or a DNS issue.<\/li>\n\n\n\n<li>The server software has crashed, or there is server downtime due to maintenance.<\/li>\n\n\n\n<li>The listening process has been stopped intentionally.<\/li>\n\n\n\n<li>A <a href=\"https:\/\/help.dreamhost.com\/hc\/en-us\/articles\/215947927-Enabling-the-Web-Application-Firewall\" target=\"_blank\" rel=\"noopener\">firewall<\/a> or some other software is blocking the port for incoming requests.<\/li>\n\n\n\n<li>A faulty internet connection, or incorrect internet settings.<\/li>\n<\/ul>\n\n\n\n<p>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.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">What Does An ERR_CONNECTION_REFUSED Error Look Like?<\/h3>\n\n\n\n<p>Bear in mind that ERR_CONNECTION_REFUSED errors appear differently depending on which platform and browser you&#8217;re using.<\/p>\n\n\n\n<p>On Google Chrome, you will see an error page that reads, &#8220;This site can&#8217;t be reached.&#8221;<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" width=\"1600\" height=\"1093\" data-src=\"https:\/\/www.dreamhost.com\/blog\/wp-content\/uploads\/2023\/11\/google-chrome-err-connection-refused-error-page.jpg\" alt=\"screenshot of a &quot;this site can't be reached&quot; error in Google\" class=\"wp-image-42505 lazyload\" data-srcset=\"https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/smush-webp\/2023\/11\/google-chrome-err-connection-refused-error-page.jpg.webp 1600w, https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/uploads\/2023\/11\/google-chrome-err-connection-refused-error-page-300x205.jpg 300w, https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/uploads\/2023\/11\/google-chrome-err-connection-refused-error-page-1024x700.jpg 1024w, https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/uploads\/2023\/11\/google-chrome-err-connection-refused-error-page-768x525.jpg 768w, https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/uploads\/2023\/11\/google-chrome-err-connection-refused-error-page-1536x1049.jpg 1536w, https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/smush-webp\/2023\/11\/google-chrome-err-connection-refused-error-page-600x410.jpg.webp 600w, https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/smush-webp\/2023\/11\/google-chrome-err-connection-refused-error-page-1200x820.jpg.webp 1200w, https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/smush-webp\/2023\/11\/google-chrome-err-connection-refused-error-page-730x499.jpg.webp 730w, https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/smush-webp\/2023\/11\/google-chrome-err-connection-refused-error-page-1460x997.jpg.webp 1460w, https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/smush-webp\/2023\/11\/google-chrome-err-connection-refused-error-page-784x536.jpg.webp 784w, https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/smush-webp\/2023\/11\/google-chrome-err-connection-refused-error-page-1568x1071.jpg.webp 1568w, https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/smush-webp\/2023\/11\/google-chrome-err-connection-refused-error-page-877x599.jpg.webp 877w\" data-sizes=\"(max-width: 1600px) 100vw, 1600px\" src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==\" style=\"--smush-placeholder-width: 1600px; --smush-placeholder-aspect-ratio: 1600\/1093;\" \/><\/figure>\n\n\n\n<p>Mozilla Firefox users who encounter an ERR_CONNECTION_REFUSED error will see a message that says, &#8220;Unable to connect Error.&#8221;<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" width=\"1600\" height=\"1197\" data-src=\"https:\/\/www.dreamhost.com\/blog\/wp-content\/uploads\/2023\/11\/ERR_CONNECTION_REFUSED-in-firefox.jpg\" alt=\"screenshot of a &quot;unable to connect&quot; error in Mozilla \" class=\"wp-image-42506 lazyload\" data-srcset=\"https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/smush-webp\/2023\/11\/ERR_CONNECTION_REFUSED-in-firefox.jpg.webp 1600w, https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/uploads\/2023\/11\/ERR_CONNECTION_REFUSED-in-firefox-300x224.jpg 300w, https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/uploads\/2023\/11\/ERR_CONNECTION_REFUSED-in-firefox-1024x766.jpg 1024w, https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/uploads\/2023\/11\/ERR_CONNECTION_REFUSED-in-firefox-768x575.jpg 768w, https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/uploads\/2023\/11\/ERR_CONNECTION_REFUSED-in-firefox-1536x1149.jpg 1536w, https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/smush-webp\/2023\/11\/ERR_CONNECTION_REFUSED-in-firefox-600x449.jpg.webp 600w, https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/smush-webp\/2023\/11\/ERR_CONNECTION_REFUSED-in-firefox-1200x898.jpg.webp 1200w, https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/smush-webp\/2023\/11\/ERR_CONNECTION_REFUSED-in-firefox-730x546.jpg.webp 730w, https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/smush-webp\/2023\/11\/ERR_CONNECTION_REFUSED-in-firefox-1460x1092.jpg.webp 1460w, https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/smush-webp\/2023\/11\/ERR_CONNECTION_REFUSED-in-firefox-784x587.jpg.webp 784w, https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/smush-webp\/2023\/11\/ERR_CONNECTION_REFUSED-in-firefox-1568x1173.jpg.webp 1568w, https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/smush-webp\/2023\/11\/ERR_CONNECTION_REFUSED-in-firefox-877x656.jpg.webp 877w\" data-sizes=\"(max-width: 1600px) 100vw, 1600px\" src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==\" style=\"--smush-placeholder-width: 1600px; --smush-placeholder-aspect-ratio: 1600\/1197;\" \/><\/figure>\n\n\n\n<p>Meanwhile, those of us who use Microsoft Edge will get a different page, with the message, &#8220;Hmmm\u2026can&#8217;t reach this page.&#8221;<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" width=\"1600\" height=\"1092\" data-src=\"https:\/\/www.dreamhost.com\/blog\/wp-content\/uploads\/2023\/11\/Microsoft-Edge-ERR_CONNECTION_REFUSED.jpg\" alt=\"screenshot of a &quot;hmmm...can't reach this page&quot; error in Edge\" class=\"wp-image-42507 lazyload\" data-srcset=\"https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/smush-webp\/2023\/11\/Microsoft-Edge-ERR_CONNECTION_REFUSED.jpg.webp 1600w, https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/uploads\/2023\/11\/Microsoft-Edge-ERR_CONNECTION_REFUSED-300x205.jpg 300w, https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/uploads\/2023\/11\/Microsoft-Edge-ERR_CONNECTION_REFUSED-1024x699.jpg 1024w, https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/uploads\/2023\/11\/Microsoft-Edge-ERR_CONNECTION_REFUSED-768x524.jpg 768w, https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/uploads\/2023\/11\/Microsoft-Edge-ERR_CONNECTION_REFUSED-1536x1048.jpg 1536w, https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/smush-webp\/2023\/11\/Microsoft-Edge-ERR_CONNECTION_REFUSED-600x410.jpg.webp 600w, https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/smush-webp\/2023\/11\/Microsoft-Edge-ERR_CONNECTION_REFUSED-1200x819.jpg.webp 1200w, https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/smush-webp\/2023\/11\/Microsoft-Edge-ERR_CONNECTION_REFUSED-730x498.jpg.webp 730w, https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/smush-webp\/2023\/11\/Microsoft-Edge-ERR_CONNECTION_REFUSED-1460x996.jpg.webp 1460w, https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/smush-webp\/2023\/11\/Microsoft-Edge-ERR_CONNECTION_REFUSED-784x535.jpg.webp 784w, https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/smush-webp\/2023\/11\/Microsoft-Edge-ERR_CONNECTION_REFUSED-1568x1070.jpg.webp 1568w, https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/smush-webp\/2023\/11\/Microsoft-Edge-ERR_CONNECTION_REFUSED-877x599.jpg.webp 877w\" data-sizes=\"(max-width: 1600px) 100vw, 1600px\" src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==\" style=\"--smush-placeholder-width: 1600px; --smush-placeholder-aspect-ratio: 1600\/1092;\" \/><\/figure>\n\n\n\n<h2 id=\"fix\" class=\"wp-block-heading\">How To Fix An ERR_CONNECTION_REFUSED Error<\/h2>\n\n\n\n<p>Now we know the issue we need to solve, it&#8217;s time to start making some investigations.<\/p>\n\n\n\n<p>Whoa there, Sherlock! Before you start digging around on your server, it&#8217;s important to run a quick test. Are you seeing the error only when visiting your website, or does it appear on multiple sites?<\/p>\n\n\n\n<p>If the problem is universal, you have a client-side error. Scroll down to the section on troubleshooting tips for visitors.<\/p>\n\n\n\n<p>But if the ERR_CONNECTION_REFUSED message only appears for your website, you will need to take action to get your site working again.<\/p>\n\n\n\n<p>Don&#8217;t worry, this shouldn&#8217;t take long. Here&#8217;s your checklist:<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Disable Active Plugins<\/h3>\n\n\n\n<p>One common culprit for server-side issues is an incompatible or buggy <a href=\"https:\/\/help.dreamhost.com\/hc\/en-us\/articles\/215300817-Managing-WordPress-plugins\" target=\"_blank\" rel=\"noopener\">plugin<\/a>. If you have any plugins or extensions installed within your <a href=\"https:\/\/www.dreamhost.com\/glossary\/web-design\/content-management-system-cms\/\" target=\"_blank\" rel=\"noopener\">CMS<\/a>, try disabling them and see if that resolves the issue.<\/p>\n\n\n\n\n\n<div class=\"glossary-term\">\n\t<a\n\t\tclass=\"glossary-term__above-title\"\n\t\thref=\"\"\n\t\ttarget=\"_blank\"\n\t\trel=\"noopener noreferrer\"\n\t>\n\t\t<svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" viewBox=\"0 0 640 512\"><path d=\"M320 32c-8.1 0-16.1 1.4-23.7 4.1L15.8 137.4C6.3 140.9 0 149.9 0 160s6.3 19.1 15.8 22.6l57.9 20.9C57.3 229.3 48 259.8 48 291.9v28.1c0 28.4-10.8 57.7-22.3 80.8c-6.5 13-13.9 25.8-22.5 37.6C0 442.7-.9 448.3 .9 453.4s6 8.9 11.2 10.2l64 16c4.2 1.1 8.7 .3 12.4-2s6.3-6.1 7.1-10.4c8.6-42.8 4.3-81.2-2.1-108.7C90.3 344.3 86 329.8 80 316.5V291.9c0-30.2 10.2-58.7 27.9-81.5c12.9-15.5 29.6-28 49.2-35.7l157-61.7c8.2-3.2 17.5 .8 20.7 9s-.8 17.5-9 20.7l-157 61.7c-12.4 4.9-23.3 12.4-32.2 21.6l159.6 57.6c7.6 2.7 15.6 4.1 23.7 4.1s16.1-1.4 23.7-4.1L624.2 182.6c9.5-3.4 15.8-12.5 15.8-22.6s-6.3-19.1-15.8-22.6L343.7 36.1C336.1 33.4 328.1 32 320 32zM128 408c0 35.3 86 72 192 72s192-36.7 192-72L496.7 262.6 354.5 314c-11.1 4-22.8 6-34.5 6s-23.5-2-34.5-6L143.3 262.6 128 408z\"\/><\/svg>\n\t\t<span><\/span>\n\t\t<svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" viewBox=\"0 0 384 512\"><path d=\"M342.6 233.4c12.5 12.5 12.5 32.8 0 45.3l-192 192c-12.5 12.5-32.8 12.5-45.3 0s-12.5-32.8 0-45.3L274.7 256 105.4 86.6c-12.5-12.5-12.5-32.8 0-45.3s32.8-12.5 45.3 0l192 192z\"\/><\/svg>\n\t<\/a>\n    <h3>Content Management System (CMS)<\/h3>\n    <p>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.<\/p>\n            <a\n            href=\"https:\/\/www.dreamhost.com\/glossary\/web-design\/content-management-system-cms\/\"\n                        class=\"btn btn--white-outline btn--sm btn--round\"\n                                    target=\"_blank\"\n            rel=\"noopener noreferrer\"\n            >\n                            Read More                    <\/a>\n\n<\/div>\n\n\n\n<p>In WordPress, you can disable plugins quickly from your dashboard:<\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li>Go to <i>Plugins &gt; Installed Plugins<\/i>.<\/li>\n\n\n\n<li>For each active plugin, click <i>Deactivate<\/i>.<\/li>\n\n\n\n<li>Check if the site works normally now, without plugins.<\/li>\n<\/ol>\n\n\n\n<p>If the errors disappear, try reactivating your plugins one by one. Test the site after you enable each plugin.<\/p>\n\n\n\n<p>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.<\/p>\n\n\n\n<p>Otherwise, it might be time to find an alternative.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Change Your Theme<\/h3>\n\n\n\n<p>Much like plugins and extensions, themes can be the cause of ERR_CONNECTION_REFUSED errors. This is most likely to happen if you&#8217;re using an outdated third-party theme.<\/p>\n\n\n\n<p>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 <a href=\"https:\/\/en-gb.wordpress.org\/themes\/twentytwentythree\/\" target=\"_blank\" rel=\"noopener\">Twenty Twenty-Three theme<\/a> via your dashboard:<\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li>Go to <i>Appearance &gt; Themes<\/i>.<\/li>\n\n\n\n<li>Click <i>Activate<\/i> on Twenty Twenty-Three, or the latest default theme.<\/li>\n\n\n\n<li>Check if ERR_CONNECTION_REFUSED has resolved after making the switch.<\/li>\n<\/ol>\n\n\n\n<p>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.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Increase Your PHP max_execution_time<\/h3>\n\n\n\n<p>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 <i>max_execution_time<\/i> in your <a href=\"https:\/\/help.dreamhost.com\/hc\/en-us\/articles\/215082337-What-versions-of-PHP-are-available-at-DreamHost-\" target=\"_blank\" rel=\"noopener\">PHP<\/a> settings.<\/p>\n\n\n\n\n\n<div class=\"glossary-term\">\n\t<a\n\t\tclass=\"glossary-term__above-title\"\n\t\thref=\"\"\n\t\ttarget=\"_blank\"\n\t\trel=\"noopener noreferrer\"\n\t>\n\t\t<svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" viewBox=\"0 0 640 512\"><path d=\"M320 32c-8.1 0-16.1 1.4-23.7 4.1L15.8 137.4C6.3 140.9 0 149.9 0 160s6.3 19.1 15.8 22.6l57.9 20.9C57.3 229.3 48 259.8 48 291.9v28.1c0 28.4-10.8 57.7-22.3 80.8c-6.5 13-13.9 25.8-22.5 37.6C0 442.7-.9 448.3 .9 453.4s6 8.9 11.2 10.2l64 16c4.2 1.1 8.7 .3 12.4-2s6.3-6.1 7.1-10.4c8.6-42.8 4.3-81.2-2.1-108.7C90.3 344.3 86 329.8 80 316.5V291.9c0-30.2 10.2-58.7 27.9-81.5c12.9-15.5 29.6-28 49.2-35.7l157-61.7c8.2-3.2 17.5 .8 20.7 9s-.8 17.5-9 20.7l-157 61.7c-12.4 4.9-23.3 12.4-32.2 21.6l159.6 57.6c7.6 2.7 15.6 4.1 23.7 4.1s16.1-1.4 23.7-4.1L624.2 182.6c9.5-3.4 15.8-12.5 15.8-22.6s-6.3-19.1-15.8-22.6L343.7 36.1C336.1 33.4 328.1 32 320 32zM128 408c0 35.3 86 72 192 72s192-36.7 192-72L496.7 262.6 354.5 314c-11.1 4-22.8 6-34.5 6s-23.5-2-34.5-6L143.3 262.6 128 408z\"\/><\/svg>\n\t\t<span><\/span>\n\t\t<svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" viewBox=\"0 0 384 512\"><path d=\"M342.6 233.4c12.5 12.5 12.5 32.8 0 45.3l-192 192c-12.5 12.5-32.8 12.5-45.3 0s-12.5-32.8 0-45.3L274.7 256 105.4 86.6c-12.5-12.5-12.5-32.8 0-45.3s32.8-12.5 45.3 0l192 192z\"\/><\/svg>\n\t<\/a>\n    <h3>PHP<\/h3>\n    <p>PHP (Hypertext Preprocessor) is an open-source scripting language. It\u2019s widely used in web development and can be embedded in HTML. Several popular Content Management Systems (CMS), such as WordPress, are built with PHP.<\/p>\n            <a\n            href=\"https:\/\/www.dreamhost.com\/glossary\/web-design\/php\/\"\n                        class=\"btn btn--white-outline btn--sm btn--round\"\n                                    target=\"_blank\"\n            rel=\"noopener noreferrer\"\n            >\n                            Read More                    <\/a>\n\n<\/div>\n\n\n\n<p>To test whether this is the cause of your problems, try doubling it from 30 seconds to 60 seconds:<\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li>Add this line to your wp-config.php file: ini_set( &#8216;max_execution_time&#8217;, 60 );<\/li>\n\n\n\n<li>Save changes and test if timeout errors reduce.<\/li>\n<\/ol>\n\n\n\n<p>If you don&#8217;t have access to PHP configs, <a href=\"https:\/\/help.dreamhost.com\/hc\/en-us\/articles\/215027768--Contacting-DreamHost-via-Live-Chat\" target=\"_blank\" rel=\"noopener\">reach out to your web host<\/a> for assistance with increasing timeouts.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Get In Touch With Your Host<\/h3>\n\n\n\n<p>If you&#8217;ve tried all the troubleshooting tips mentioned above and are still seeing ERR_CONNECTION_REFUSED, it&#8217;s a good idea to get in touch with your <a href=\"https:\/\/www.dreamhost.com\/support\/\" target=\"_blank\" rel=\"noopener\">web host&#8217;s support team<\/a>.<\/p>\n\n\n\n<p>They have better access to key information, meaning they can investigate the problem at a deeper level.<\/p>\n\n\n\n<p>Send them details about the error and when it seems to happen. Your host can then check <a href=\"https:\/\/help.dreamhost.com\/hc\/en-us\/articles\/216512197-Viewing-your-access-and-error-logs-via-SFTP\" target=\"_blank\" rel=\"noopener\">server logs<\/a>, load, configurations, and resource usage to pinpoint the cause.<\/p>\n\n\n\n<p>Folks who <a href=\"https:\/\/www.dreamhost.com\/\" target=\"_blank\" rel=\"noopener\">host their website with DreamHost<\/a> get <b>24\/7 access to our excellent support team<\/b> via live chat. They can diagnose any <a href=\"https:\/\/www.dreamhost.com\/blog\/common-wordpress-errors\/\" target=\"_blank\" rel=\"noopener\">strange errors<\/a> that pop up, and get your site back up and running smoothly.<\/p>\n\n\n\n<h2 id=\"visitor\" class=\"wp-block-heading\">How To Fix ERR_CONNECTION_REFUSED Errors As A Visitor<\/h2>\n\n\n\n<p>As you try to track down the cause of your ERR_CONNECTION_REFUSED woes, it&#8217;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.<\/p>\n\n\n\n<p>If you\u2019re seeing errors popping up all over the place, try following these troubleshooting steps:<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Clear Out Your Browser<\/h3>\n\n\n\n<p>An easy place to start is by clearing your <a href=\"https:\/\/www.dreamhost.com\/blog\/a-comprehensive-guide-to-website-caching\/\" target=\"_blank\" rel=\"noopener\">browser cache<\/a> and <a href=\"https:\/\/www.dreamhost.com\/glossary\/hosting\/cookies\/\" target=\"_blank\" rel=\"noopener\">cookies<\/a>.<\/p>\n\n\n\n<p>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.<\/p>\n\n\n\n<p>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:<\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li>To the right of the address bar, click the three dots in the menu bar.<\/li>\n\n\n\n<li>Select <i>Settings<\/i> from the drop-down menu.<\/li>\n\n\n\n<li>Navigate to <i>Privacy and Security &gt; Clear Browsing Data<\/i>.<\/li>\n\n\n\n<li>Select <i>Cached images and files<\/i> and <i>Cookies and other site data,<\/i> before clicking <i>Clear<\/i>.<\/li>\n<\/ol>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" width=\"1600\" height=\"912\" data-src=\"https:\/\/www.dreamhost.com\/blog\/wp-content\/uploads\/2023\/11\/chrome-settings-cache.jpg\" alt=\"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 \" class=\"wp-image-42508 lazyload\" data-srcset=\"https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/smush-webp\/2023\/11\/chrome-settings-cache.jpg.webp 1600w, https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/uploads\/2023\/11\/chrome-settings-cache-300x171.jpg 300w, https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/uploads\/2023\/11\/chrome-settings-cache-1024x584.jpg 1024w, https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/uploads\/2023\/11\/chrome-settings-cache-768x438.jpg 768w, https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/uploads\/2023\/11\/chrome-settings-cache-1536x876.jpg 1536w, https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/smush-webp\/2023\/11\/chrome-settings-cache-600x342.jpg.webp 600w, https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/smush-webp\/2023\/11\/chrome-settings-cache-1200x684.jpg.webp 1200w, https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/smush-webp\/2023\/11\/chrome-settings-cache-730x416.jpg.webp 730w, https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/smush-webp\/2023\/11\/chrome-settings-cache-1460x832.jpg.webp 1460w, https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/smush-webp\/2023\/11\/chrome-settings-cache-784x447.jpg.webp 784w, https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/smush-webp\/2023\/11\/chrome-settings-cache-1568x894.jpg.webp 1568w, https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/smush-webp\/2023\/11\/chrome-settings-cache-877x500.jpg.webp 877w\" data-sizes=\"(max-width: 1600px) 100vw, 1600px\" src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==\" style=\"--smush-placeholder-width: 1600px; --smush-placeholder-aspect-ratio: 1600\/912;\" \/><\/figure>\n\n\n\n<p>Then, try to reload the webpage to see if the error has cleared.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Check Your Internet Connection<\/h3>\n\n\n\n<p>One common cause of the ERR_CONNECTION_REFUSED error is an unreliable internet connection.<\/p>\n\n\n\n<p>If you\u2019re 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\u2019t working properly.<\/p>\n\n\n\n<p>The problem may resolve itself in a few minutes. Otherwise, you might need to get in touch with your ISP (Internet Service Provider).<\/p>\n\n\n\n<p>If you don&#8217;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 &#8220;speed test&#8221; and follow the instructions provided.<\/p>\n\n\n\n<p>Bear in mind that it\u2019s not always the actual internet connection that is to blame \u2014 Sometimes, routers misbehave. To check your Wi-Fi connection:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><b>On Windows<\/b>: In the Control Panel, go to <i>Network<\/i> and <i>Internet &gt; Network and Sharing Center<\/i>, and select the blue Wi-Fi link.<\/li>\n\n\n\n<li><b>On Mac<\/b>: Hold the option key, and click the Wi-Fi icon on the status bar at the top of your screen. Then, select <i>Wireless Diagnostics<\/i> from the menu.<\/li>\n<\/ul>\n\n\n\n<h3 class=\"wp-block-heading\">Restart Your Device<\/h3>\n\n\n\n<p>Sometimes, all you need is a simple restart to clear up connection issues.<\/p>\n\n\n\n<p>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.<\/p>\n\n\n\n<p>This process flushes the <a href=\"https:\/\/help.dreamhost.com\/hc\/en-us\/articles\/214981288-Flushing-your-DNS-cache-in-Mac-OS-X-and-Linux\" target=\"_blank\" rel=\"noopener\">DNS resolver cache<\/a>, meaning that any invalid DNS address will be washed away. Restarting your devices will also reset certain network settings to the original default settings.<\/p>\n\n\n\n<p>(It&#8217;s also possible to <a href=\"https:\/\/help.dreamhost.com\/hc\/en-us\/articles\/216456827-How-to-clear-your-browser-s-cache\" target=\"_blank\" rel=\"noopener\">flush your DNS cache manually<\/a> without having to turn off your device).<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Dive Into Your DNS Settings<\/h3>\n\n\n\n<p>When a simple reboot doesn&#8217;t do the trick, it might be because the <a href=\"https:\/\/help.dreamhost.com\/hc\/en-us\/articles\/214694378-What-DreamHost-DNS-records-do-I-point-my-site-to-\" target=\"_blank\" rel=\"noopener\">DNS configuration<\/a> you are using isn&#8217;t working correctly. This can cause errors because your browser doesn&#8217;t know where to find the website you want.<\/p>\n\n\n\n<p>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:<\/p>\n\n\n\n<p><b>On Windows<\/b>: Open <i>Start<\/i> and type \u201cControl panel\u201d in the search bar. Click on the app to open and navigate to <i>Network and Sharing Center<\/i>. Click on your current network next to \u201cConnections\u201d and then open <i>Properties<\/i>. Click <i>Use the following DNS server addresses<\/i>.<\/p>\n\n\n\n<p>Type in one of the public DNS addresses listed below.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" width=\"1600\" height=\"1280\" data-src=\"https:\/\/www.dreamhost.com\/blog\/wp-content\/uploads\/2023\/11\/06c-windows-dns-configuration.jpg\" alt=\"A screen-to-screen flow of the workflow to reset the DNS server in windows\" class=\"wp-image-42509 lazyload\" data-srcset=\"https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/smush-webp\/2023\/11\/06c-windows-dns-configuration.jpg.webp 1600w, https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/uploads\/2023\/11\/06c-windows-dns-configuration-300x240.jpg 300w, https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/uploads\/2023\/11\/06c-windows-dns-configuration-1024x819.jpg 1024w, https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/uploads\/2023\/11\/06c-windows-dns-configuration-768x614.jpg 768w, https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/uploads\/2023\/11\/06c-windows-dns-configuration-1536x1229.jpg 1536w, https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/smush-webp\/2023\/11\/06c-windows-dns-configuration-600x480.jpg.webp 600w, https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/smush-webp\/2023\/11\/06c-windows-dns-configuration-1200x960.jpg.webp 1200w, https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/smush-webp\/2023\/11\/06c-windows-dns-configuration-730x584.jpg.webp 730w, https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/smush-webp\/2023\/11\/06c-windows-dns-configuration-1460x1168.jpg.webp 1460w, https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/smush-webp\/2023\/11\/06c-windows-dns-configuration-784x627.jpg.webp 784w, https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/smush-webp\/2023\/11\/06c-windows-dns-configuration-1568x1254.jpg.webp 1568w, https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/smush-webp\/2023\/11\/06c-windows-dns-configuration-877x702.jpg.webp 877w\" data-sizes=\"(max-width: 1600px) 100vw, 1600px\" src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==\" style=\"--smush-placeholder-width: 1600px; --smush-placeholder-aspect-ratio: 1600\/1280;\" \/><\/figure>\n\n\n\n<p><b>On Mac<\/b>: In <i>System Settings<\/i>, open <i>Network. <\/i>Then, click the <i>Advanced\u2026<\/i> button in the bottom right, and select the DNS tab.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" width=\"1600\" height=\"1206\" data-src=\"https:\/\/www.dreamhost.com\/blog\/wp-content\/uploads\/2023\/11\/mac-dns-settings.jpg\" alt=\"screenshot of the DNS screen in Mac settings where a user can update theDNS\" class=\"wp-image-42510 lazyload\" data-srcset=\"https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/smush-webp\/2023\/11\/mac-dns-settings.jpg.webp 1600w, https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/uploads\/2023\/11\/mac-dns-settings-300x226.jpg 300w, https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/uploads\/2023\/11\/mac-dns-settings-1024x772.jpg 1024w, https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/uploads\/2023\/11\/mac-dns-settings-768x579.jpg 768w, https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/uploads\/2023\/11\/mac-dns-settings-1536x1158.jpg 1536w, https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/smush-webp\/2023\/11\/mac-dns-settings-600x452.jpg.webp 600w, https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/smush-webp\/2023\/11\/mac-dns-settings-1200x905.jpg.webp 1200w, https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/smush-webp\/2023\/11\/mac-dns-settings-730x550.jpg.webp 730w, https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/smush-webp\/2023\/11\/mac-dns-settings-1460x1100.jpg.webp 1460w, https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/smush-webp\/2023\/11\/mac-dns-settings-784x591.jpg.webp 784w, https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/smush-webp\/2023\/11\/mac-dns-settings-1568x1182.jpg.webp 1568w, https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/smush-webp\/2023\/11\/mac-dns-settings-877x661.jpg.webp 877w\" data-sizes=\"(max-width: 1600px) 100vw, 1600px\" src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==\" style=\"--smush-placeholder-width: 1600px; --smush-placeholder-aspect-ratio: 1600\/1206;\" \/><\/figure>\n\n\n\n<p>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:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><b>Google Public DNS<\/b>: 8.8.8.8 or 8.8.4.4<\/li>\n\n\n\n<li><b>Cloudflare DNS<\/b>: 1.1.1.1 or 1.0.0.1<\/li>\n\n\n\n<li><b>OpenDNS Home<\/b>: 208.67.222.222 or 208.67.220.220<\/li>\n<\/ul>\n\n\n\n<p>If this fixes your problem, you can either keep your new server IP address or get in touch with your ISP for additional help.<\/p>\n\n\n\n<p>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.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">(Temporarily) Disable Your Security Software<\/h3>\n\n\n\n<p>Using a firewall and antivirus software is wise if you want to keep your devices secure. Unfortunately, overzealous <a href=\"https:\/\/help.dreamhost.com\/hc\/en-us\/articles\/214916918-Keeping-your-website-secure\" target=\"_blank\" rel=\"noopener\">security tools<\/a> can sometimes block connections \u2014 leading to client-side issues.<\/p>\n\n\n\n<p>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.<\/p>\n\n\n\n<p>If you&#8217;re using the built-in Defender Firewall on Windows:<\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li>Head to <i>Settings &gt; Privacy &amp; security&gt; Windows Security<\/i>.<\/li>\n\n\n\n<li>Click on <i>Firewall &amp; network protection<\/i>.<\/li>\n\n\n\n<li>Select: <i>Domain network<\/i>.<\/li>\n\n\n\n<li>Under <i>Microsoft Defender Firewall<\/i> switch the setting to <i>Off<\/i>.<\/li>\n<\/ol>\n\n\n\n<p>Don&#8217;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.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Check Proxy Settings<\/h3>\n\n\n\n<p>Much like security software, proxies and VPN services can interfere with connections and domain name resolution, leading to ERR_CONNECTION_REFUSED errors.<\/p>\n\n\n\n<p>To check if your <a href=\"https:\/\/help.dreamhost.com\/hc\/en-us\/articles\/217955787-Proxy-Server\" target=\"_blank\" rel=\"noopener\">proxy server<\/a> settings are causing issues on Windows:<\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li>Visit the <i>Control Panel.<\/i><\/li>\n\n\n\n<li>Go to<i> Network and Internet &gt; Internet Options &gt; Connections &gt; LAN Settings<\/i>.<\/li>\n\n\n\n<li>Deselect two options: <i>Automatically detect settings<\/i> and <i>Use a proxy server for your LAN<\/i>.<\/li>\n\n\n\n<li>Save the changes by clicking <i>Ok.<\/i><\/li>\n<\/ol>\n\n\n\n<p>On Mac:<\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li>Open up <i>System preferences<\/i>.<\/li>\n\n\n\n<li>Navigate to <i>Network &gt; Advanced &gt; Proxies<\/i>.<\/li>\n\n\n\n<li>Make sure all proxy protocols in the list are unchecked.<\/li>\n\n\n\n<li>Click <i>Ok<\/i> to save any changes.<\/li>\n<\/ol>\n\n\n\n<p>Try loading the site again \u2014 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.<\/p>\n\n\n\n<p>Given the privacy implications, removing proxy protection isn&#8217;t a long-term solution. However, disabling it temporarily can help you to pin down technical errors.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Disable Browser Extensions<\/h3>\n\n\n\n<p>Some ad blockers, tracking protection extensions, or <a href=\"https:\/\/help.dreamhost.com\/hc\/en-us\/articles\/360003505791-VPN-overview\" target=\"_blank\" rel=\"noopener\">VPN<\/a> plug-ins added to your browser can inadvertently block access to certain sites and cause ERR_CONNECTION_REFUSED.<\/p>\n\n\n\n<p>We see this most often with Chrome Extensions, mainly because they\u2019re so popular.<\/p>\n\n\n\n<p>To test if Chrome Extension issues are to blame:<\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li>Click the three dots in the top-right corner, just along the search bar.<\/li>\n\n\n\n<li>Open the Extensions menu by navigating to <i>Tools &gt; Extensions<\/i>.<\/li>\n\n\n\n<li>For each extension installed, toggle it to <i>Off<\/i> to disable it. Alternatively, you can click <i>Remove<\/i> on suspicious extensions to uninstall completely.<\/li>\n<\/ol>\n\n\n\n<p>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.<\/p>\n\n\n\n<p>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.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Take A Peek At Your .hosts File<\/h3>\n\n\n\n<p>If none of the above is making any difference, you might have a case of the <a href=\"https:\/\/help.dreamhost.com\/hc\/en-us\/articles\/115006086308-View-your-DreamHost-site-using-a-hosts-file\" target=\"_blank\" rel=\"noopener\">.hosts<\/a> file blues.<\/p>\n\n\n\n<p>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.<\/p>\n\n\n\n<p>You can find a .hosts file in every operating system:<\/p>\n\n\n\n<p>In <b>Windows<\/b> open the Start menu and type \u201cNotepad\u201d in the search bar. Right-click the app and click <i>Run as administrator<\/i>. Once Notepad is open, click <i>File<\/i> &gt; <i>Open<\/i>. Then, enter this file name into the text box: C:WindowsSystem32driversetc<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" width=\"1600\" height=\"1274\" data-src=\"https:\/\/www.dreamhost.com\/blog\/wp-content\/uploads\/2023\/11\/windows-host-files.jpg\" alt=\"screenshot of the notepad open file, file name location of hosts files in Windows\" class=\"wp-image-42511 lazyload\" data-srcset=\"https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/smush-webp\/2023\/11\/windows-host-files.jpg.webp 1600w, https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/uploads\/2023\/11\/windows-host-files-300x239.jpg 300w, https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/uploads\/2023\/11\/windows-host-files-1024x815.jpg 1024w, https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/uploads\/2023\/11\/windows-host-files-768x612.jpg 768w, https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/uploads\/2023\/11\/windows-host-files-1536x1223.jpg 1536w, https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/smush-webp\/2023\/11\/windows-host-files-600x478.jpg.webp 600w, https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/smush-webp\/2023\/11\/windows-host-files-1200x956.jpg.webp 1200w, https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/smush-webp\/2023\/11\/windows-host-files-730x581.jpg.webp 730w, https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/smush-webp\/2023\/11\/windows-host-files-1460x1163.jpg.webp 1460w, https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/smush-webp\/2023\/11\/windows-host-files-784x624.jpg.webp 784w, https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/smush-webp\/2023\/11\/windows-host-files-1568x1249.jpg.webp 1568w, https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/smush-webp\/2023\/11\/windows-host-files-877x698.jpg.webp 877w\" data-sizes=\"(max-width: 1600px) 100vw, 1600px\" src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==\" style=\"--smush-placeholder-width: 1600px; --smush-placeholder-aspect-ratio: 1600\/1274;\" \/><\/figure>\n\n\n\n<p>For <b>macOS<\/b>, hop to Finder and navigate to <i>\/etc\/hosts<\/i><\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" width=\"1600\" height=\"1041\" data-src=\"https:\/\/www.dreamhost.com\/blog\/wp-content\/uploads\/2023\/11\/mac-host-files.jpg\" alt=\"sceenshot of the private\/etc\/hosts file in Mac\" class=\"wp-image-42512 lazyload\" data-srcset=\"https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/smush-webp\/2023\/11\/mac-host-files.jpg.webp 1600w, https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/uploads\/2023\/11\/mac-host-files-300x195.jpg 300w, https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/uploads\/2023\/11\/mac-host-files-1024x666.jpg 1024w, https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/uploads\/2023\/11\/mac-host-files-768x500.jpg 768w, https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/uploads\/2023\/11\/mac-host-files-1536x999.jpg 1536w, https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/smush-webp\/2023\/11\/mac-host-files-600x390.jpg.webp 600w, https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/smush-webp\/2023\/11\/mac-host-files-1200x781.jpg.webp 1200w, https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/smush-webp\/2023\/11\/mac-host-files-730x475.jpg.webp 730w, https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/smush-webp\/2023\/11\/mac-host-files-1460x950.jpg.webp 1460w, https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/smush-webp\/2023\/11\/mac-host-files-784x510.jpg.webp 784w, https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/smush-webp\/2023\/11\/mac-host-files-1568x1020.jpg.webp 1568w, https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/smush-webp\/2023\/11\/mac-host-files-877x571.jpg.webp 877w\" data-sizes=\"(max-width: 1600px) 100vw, 1600px\" src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==\" style=\"--smush-placeholder-width: 1600px; --smush-placeholder-aspect-ratio: 1600\/1041;\" \/><\/figure>\n\n\n\n<p>For all other operating systems:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><b>Linux\/Unix<\/b>: Check out <i>\/etc\/hosts<\/i><\/li>\n\n\n\n<li><b>Android<\/b>: Using any file browser app, navigate to <i>\/system\/etc\/hosts<\/i><\/li>\n\n\n\n<li><b>iOS<\/b>: Via the Files app, go to <i>\/etc\/hosts<\/i><\/li>\n<\/ul>\n\n\n\n<p>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.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Reinstall Your Browser<\/h3>\n\n\n\n<p>If you&#8217;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.<\/p>\n\n\n\n<p>Here&#8217;s what you need to do:<\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li>Close all windows and quit the browser completely.<\/li>\n\n\n\n<li>On Windows, go to <i>Start &gt; Settings &gt; Apps &gt; Apps &amp; features<\/i>. On Mac, head over to <i>Finder &gt; Applications<\/i>.<\/li>\n\n\n\n<li>Search for your internet browser, and uninstall the app. Confirm any prompts to fully uninstall.<\/li>\n\n\n\n<li>Next, restart your computer. This helps to flush any cached files.<\/li>\n\n\n\n<li>Download the latest version of your chosen browser. Make sure to visit the official source.<\/li>\n\n\n\n<li>Run through the reinstallation process. Make sure to deselect any options to import previous data.<\/li>\n<\/ol>\n\n\n\n<p>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.<\/p>\n\n\n\n<p>If you continue to see connection issues, the problem likely lies elsewhere, such as with your network setup or the website&#8217;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!<\/p>\n\n\n\n<h2 id=\"summary\" class=\"wp-block-heading\">Fix Errors Faster With DreamHost<\/h2>\n\n\n\n<p>From clearing caches, and fixing internet-related issues, to tracking down incorrect firewall settings, we&#8217;ve walked through a lot of troubleshooting methods in this guide.<\/p>\n\n\n\n<p>In most cases, you won&#8217;t need to use every possible solution. Using simple tests, you should be able to figure out the likely problem:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Do you only get ERR_CONNECTION_REFUSED errors on one website? Chances are, it&#8217;s a <b>server-side issue<\/b>.<\/li>\n\n\n\n<li>Seeing ERR_CONNECTION_REFUSED errors on multiple sites? It is almost certainly a <b>client-side problem<\/b>.<\/li>\n<\/ul>\n\n\n\n<p>While we can&#8217;t fix your internet connection or your proxy problems, we can fix your website if it starts showing an error.<\/p>\n\n\n\n<p>All of our hosting packages come with 24\/7 live support, and our expert staff can handle any technical query you have.<\/p>\n\n\n\n<p>Sounds good? <a href=\"https:\/\/www.dreamhost.com\/hosting\/\" target=\"_blank\" rel=\"noopener\">Sign up for hosting today<\/a> to give it a try for yourself.<\/p>\n\n\n\n<div class=\"article-newsletter article-newsletter--gradient\">\n\n\n<h2>Get Content Delivered Straight to Your Inbox<\/h2><p>Subscribe now to receive all the latest updates, delivered directly to your inbox.<\/p><form class=\"nwsl-form\" id=\"newsletter_block_\" novalidate><div class=\"messages\"><\/div><div class=\"form-group\"><label for=\"input_newsletter_block_\"><input type=\"email\"name=\"email\"id=\"input_newsletter_block_\"placeholder=\"Enter your email address\"novalidatedisabled=\"disabled\"\/><\/label><button type=\"submit\"class=\"btn btn--brand\"disabled=\"disabled\"><span>Sign Me Up!<\/span><svg width=\"21\" height=\"14\" viewBox=\"0 0 21 14\" fill=\"none\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\">\n<path d=\"M13.8523 0.42524L12.9323 1.34521C12.7095 1.56801 12.7132 1.9304 12.9404 2.14865L16.7241 5.7823H0.5625C0.251859 5.7823 0 6.03416 0 6.3448V7.6573C0 7.96794 0.251859 8.2198 0.5625 8.2198H16.7241L12.9405 11.8535C12.7132 12.0717 12.7095 12.4341 12.9323 12.6569L13.8523 13.5769C14.072 13.7965 14.4281 13.7965 14.6478 13.5769L20.8259 7.39879C21.0456 7.17913 21.0456 6.82298 20.8259 6.60327L14.6477 0.42524C14.4281 0.205584 14.0719 0.205584 13.8523 0.42524Z\" fill=\"white\"\/>\n<\/svg>\n<\/button><\/div><\/form><\/div>","protected":false},"excerpt":{"rendered":"<p>Oh no. You&#8217;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 [&hellip;]<\/p>\n","protected":false},"author":1036,"featured_media":42483,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"_yoast_wpseo_metadesc":"Seeing an ERR_CONNECTION_REFUSED error? This step-by-step guide should help you solve the issue.","toc_headlines":"[[\"definition\",\"What Is An ERR_CONNECTION_REFUSED Error?\"],[\"fix\",\"How To Fix An ERR_CONNECTION_REFUSED Error\"],[\"visitor\",\"How To Fix ERR_CONNECTION_REFUSED Errors As A Visitor\"],[\"summary\",\"Fix Errors Faster With DreamHost\"]]","hide_toc":false,"footnotes":""},"categories":[13127,550,696],"tags":[],"class_list":["post-42481","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-errors-troubleshooting","category-tutorials","category-wordpress"],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v26.3 (Yoast SEO v27.4) - https:\/\/yoast.com\/product\/yoast-seo-premium-wordpress\/ -->\n<title>How To Fix &quot;Connection Refused&quot; Error - DreamHost<\/title>\n<meta name=\"description\" content=\"Seeing an ERR_CONNECTION_REFUSED error? This step-by-step guide should help you solve the issue.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www-dev.dreamhost.com\/blog\/how-to-fix-connection-refused-error\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"ERR_CONNECTION_REFUSED: Why It Happens &amp; How To Fix It\" \/>\n<meta property=\"og:description\" content=\"Encountering \u201cERR_CONNECTION_REFUSED\u201d can halt anyone\u2019s browsing experience. Use the actionable steps in this guide to diagnose and fix this common network issue and restore your connection swiftly.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www-dev.dreamhost.com\/blog\/how-to-fix-connection-refused-error\/\" \/>\n<meta property=\"og:site_name\" content=\"DreamHost Blog\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/DreamHost\/\" \/>\n<meta property=\"article:published_time\" content=\"2023-11-30T15:00:31+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2026-03-11T15:34:47+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.dreamhost.com\/blog\/wp-content\/uploads\/2023\/11\/How-to-Fix-the-ERR_CONNECTION_REFUSED-Error-SOCIAL-Image.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"1200\" \/>\n\t<meta property=\"og:image:height\" content=\"628\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"Luke Odom\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:title\" content=\"ERR_CONNECTION_REFUSED: Why It Happens &amp; How To Fix It\" \/>\n<meta name=\"twitter:description\" content=\"Encountering \u201cERR_CONNECTION_REFUSED\u201d can halt anyone\u2019s browsing experience. Use the actionable steps in this guide to diagnose and fix this common network issue and restore your connection swiftly.\" \/>\n<meta name=\"twitter:creator\" content=\"@dreamhost\" \/>\n<meta name=\"twitter:site\" content=\"@dreamhost\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Luke Odom\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"14 minutes\" \/>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"How To Fix \"Connection Refused\" Error - DreamHost","description":"Seeing an ERR_CONNECTION_REFUSED error? This step-by-step guide should help you solve the issue.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www-dev.dreamhost.com\/blog\/how-to-fix-connection-refused-error\/","og_locale":"en_US","og_type":"article","og_title":"ERR_CONNECTION_REFUSED: Why It Happens & How To Fix It","og_description":"Encountering \u201cERR_CONNECTION_REFUSED\u201d can halt anyone\u2019s browsing experience. Use the actionable steps in this guide to diagnose and fix this common network issue and restore your connection swiftly.","og_url":"https:\/\/www-dev.dreamhost.com\/blog\/how-to-fix-connection-refused-error\/","og_site_name":"DreamHost Blog","article_publisher":"https:\/\/www.facebook.com\/DreamHost\/","article_published_time":"2023-11-30T15:00:31+00:00","article_modified_time":"2026-03-11T15:34:47+00:00","og_image":[{"width":1200,"height":628,"url":"https:\/\/www.dreamhost.com\/blog\/wp-content\/uploads\/2023\/11\/How-to-Fix-the-ERR_CONNECTION_REFUSED-Error-SOCIAL-Image.jpg","type":"image\/jpeg"}],"author":"Luke Odom","twitter_card":"summary_large_image","twitter_title":"ERR_CONNECTION_REFUSED: Why It Happens & How To Fix It","twitter_description":"Encountering \u201cERR_CONNECTION_REFUSED\u201d can halt anyone\u2019s browsing experience. Use the actionable steps in this guide to diagnose and fix this common network issue and restore your connection swiftly.","twitter_creator":"@dreamhost","twitter_site":"@dreamhost","twitter_misc":{"Written by":"Luke Odom","Est. reading time":"14 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www-dev.dreamhost.com\/blog\/how-to-fix-connection-refused-error\/#article","isPartOf":{"@id":"https:\/\/www-dev.dreamhost.com\/blog\/how-to-fix-connection-refused-error\/"},"author":{"name":"Luke Odom","@id":"https:\/\/www-dev.dreamhost.com\/blog\/#\/schema\/person\/89b848f30904144bdbed4743605a55db"},"headline":"How To Resolve The ERR_CONNECTION_REFUSED Error","datePublished":"2023-11-30T15:00:31+00:00","dateModified":"2026-03-11T15:34:47+00:00","mainEntityOfPage":{"@id":"https:\/\/www-dev.dreamhost.com\/blog\/how-to-fix-connection-refused-error\/"},"wordCount":2752,"publisher":{"@id":"https:\/\/www-dev.dreamhost.com\/blog\/#organization"},"image":{"@id":"https:\/\/www-dev.dreamhost.com\/blog\/how-to-fix-connection-refused-error\/#primaryimage"},"thumbnailUrl":"https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/uploads\/2023\/11\/How-to-Fix-the-ERR_CONNECTION_REFUSED-Error-HERO-Image.jpg","articleSection":["Errors &amp; Troubleshooting","Tutorials","WordPress"],"inLanguage":"en-US"},{"@type":"WebPage","@id":"https:\/\/www-dev.dreamhost.com\/blog\/how-to-fix-connection-refused-error\/","url":"https:\/\/www-dev.dreamhost.com\/blog\/how-to-fix-connection-refused-error\/","name":"How To Fix \"Connection Refused\" Error - DreamHost","isPartOf":{"@id":"https:\/\/www-dev.dreamhost.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www-dev.dreamhost.com\/blog\/how-to-fix-connection-refused-error\/#primaryimage"},"image":{"@id":"https:\/\/www-dev.dreamhost.com\/blog\/how-to-fix-connection-refused-error\/#primaryimage"},"thumbnailUrl":"https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/uploads\/2023\/11\/How-to-Fix-the-ERR_CONNECTION_REFUSED-Error-HERO-Image.jpg","datePublished":"2023-11-30T15:00:31+00:00","dateModified":"2026-03-11T15:34:47+00:00","description":"Seeing an ERR_CONNECTION_REFUSED error? This step-by-step guide should help you solve the issue.","breadcrumb":{"@id":"https:\/\/www-dev.dreamhost.com\/blog\/how-to-fix-connection-refused-error\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www-dev.dreamhost.com\/blog\/how-to-fix-connection-refused-error\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www-dev.dreamhost.com\/blog\/how-to-fix-connection-refused-error\/#primaryimage","url":"https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/uploads\/2023\/11\/How-to-Fix-the-ERR_CONNECTION_REFUSED-Error-HERO-Image.jpg","contentUrl":"https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/uploads\/2023\/11\/How-to-Fix-the-ERR_CONNECTION_REFUSED-Error-HERO-Image.jpg","width":1460,"height":1095,"caption":"a man on a tablet looking a bit concerned with a solid pink background and err_connection_refused icons all around him"},{"@type":"BreadcrumbList","@id":"https:\/\/www-dev.dreamhost.com\/blog\/how-to-fix-connection-refused-error\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/dhblog.dream.press\/blog\/"},{"@type":"ListItem","position":2,"name":"How To Resolve The ERR_CONNECTION_REFUSED Error"}]},{"@type":"WebSite","@id":"https:\/\/www-dev.dreamhost.com\/blog\/#website","url":"https:\/\/www-dev.dreamhost.com\/blog\/","name":"DreamHost Blog","description":"","publisher":{"@id":"https:\/\/www-dev.dreamhost.com\/blog\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www-dev.dreamhost.com\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/www-dev.dreamhost.com\/blog\/#organization","name":"DreamHost","url":"https:\/\/www-dev.dreamhost.com\/blog\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www-dev.dreamhost.com\/blog\/#\/schema\/logo\/image\/","url":"https:\/\/dhblog.dream.press\/blog\/wp-content\/uploads\/2019\/01\/dh_logo-blue-2.png","contentUrl":"https:\/\/dhblog.dream.press\/blog\/wp-content\/uploads\/2019\/01\/dh_logo-blue-2.png","width":1200,"height":168,"caption":"DreamHost"},"image":{"@id":"https:\/\/www-dev.dreamhost.com\/blog\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/DreamHost\/","https:\/\/x.com\/dreamhost","https:\/\/www.instagram.com\/dreamhost\/","https:\/\/www.linkedin.com\/company\/dreamhost\/","https:\/\/www.youtube.com\/user\/dreamhostusa"]},{"@type":"Person","@id":"https:\/\/www-dev.dreamhost.com\/blog\/#\/schema\/person\/89b848f30904144bdbed4743605a55db","name":"Luke Odom","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/c56e64d8cecd561c4e2cb65fc16717105fc6d29044bbd8c78cbd4619a31e7098?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/c56e64d8cecd561c4e2cb65fc16717105fc6d29044bbd8c78cbd4619a31e7098?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/c56e64d8cecd561c4e2cb65fc16717105fc6d29044bbd8c78cbd4619a31e7098?s=96&d=mm&r=g","caption":"Luke Odom"},"description":"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\/","url":"https:\/\/www-dev.dreamhost.com\/blog\/author\/dreamhostluke\/"}]}},"lang":"en","translations":{"en":42481,"es":42515,"pt":52920,"de":52923,"pl":56283,"ru":56292,"uk":56298,"it":68036,"fr":69657,"nl":69688},"pll_sync_post":[],"_links":{"self":[{"href":"https:\/\/www-dev.dreamhost.com\/blog\/wp-json\/wp\/v2\/posts\/42481","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www-dev.dreamhost.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www-dev.dreamhost.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www-dev.dreamhost.com\/blog\/wp-json\/wp\/v2\/users\/1036"}],"replies":[{"embeddable":true,"href":"https:\/\/www-dev.dreamhost.com\/blog\/wp-json\/wp\/v2\/comments?post=42481"}],"version-history":[{"count":8,"href":"https:\/\/www-dev.dreamhost.com\/blog\/wp-json\/wp\/v2\/posts\/42481\/revisions"}],"predecessor-version":[{"id":79953,"href":"https:\/\/www-dev.dreamhost.com\/blog\/wp-json\/wp\/v2\/posts\/42481\/revisions\/79953"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www-dev.dreamhost.com\/blog\/wp-json\/wp\/v2\/media\/42483"}],"wp:attachment":[{"href":"https:\/\/www-dev.dreamhost.com\/blog\/wp-json\/wp\/v2\/media?parent=42481"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www-dev.dreamhost.com\/blog\/wp-json\/wp\/v2\/categories?post=42481"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www-dev.dreamhost.com\/blog\/wp-json\/wp\/v2\/tags?post=42481"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}