# ERR\_CONNECTION\_REFUSED on 1 site

**URL:** <https://community.localwp.com/t/err-connection-refused-on-1-site/27604>\
**Category:** Support\
**Tags:** err\_connection\_refus\
**Created:** [September 9, 2021, 8:24am UTC](https://community.localwp.com/t/err-connection-refused-on-1-site/27604 "2021-09-09T08:24:01Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Hugor](https://sea1.discourse-cdn.com/flex019/user_avatar/community.localwp.com/hugor/32/14109_2.png) [@Hugor](https://community.localwp.com/u/Hugor)\
**Post date:** [September 9, 2021, 8:24am UTC](https://community.localwp.com/t/err-connection-refused-on-1-site/27604/1 "2021-09-09T08:24:01Z")

</div>

Hi, i’m using Local 6.1.1, and i can’t access to one of my sites and i don’t know why.

I am on Mac OS BigSur 11.3.1

I get the ERR\_CONNECTION\_REFUSED.

 ![image](https://us1.discourse-cdn.com/flex019/uploads/lwpforums/original/2X/c/c2f30caabfa3e19b6b3617b63cb1eb950d3adeec.png)

It’s strange because i can access to one of my other site.

I don’t know if i gave enough information to help me,  
Thanks to you

---

<div class="post-metadata">

**Author:** ![Hugor](https://sea1.discourse-cdn.com/flex019/user_avatar/community.localwp.com/hugor/32/14109_2.png) [@Hugor](https://community.localwp.com/u/Hugor)\
**Post date:** [September 9, 2021, 8:25am UTC](https://community.localwp.com/t/err-connection-refused-on-1-site/27604/2 "2021-09-09T08:25:43Z")

</div>

here is my logs

[local-lightning.log](https://community.localwp.com/uploads/short-url/klKRpDdJlnOYb0QtcT8vxBedpni.log) (82.1 KB)

---

<div class="post-metadata">

**Author:** ![ben.turner](https://sea1.discourse-cdn.com/flex019/user_avatar/community.localwp.com/ben.turner/32/5366_2.png) [@ben.turner](https://community.localwp.com/u/ben.turner)\
**Post date:** [September 10, 2021, 4:29pm UTC](https://community.localwp.com/t/err-connection-refused-on-1-site/27604/3 "2021-09-10T16:29:24Z")

</div>

In a basic sense, `ERR_CONNECTION_REFUSED` means that the domain that you are trying to connect to isn’t accepting your request. From the screenshot it looks like `localhost` is refusing that connection, which might be due to a number of reasons, including antivirus software, security settings, or even a different piece of software listening on the default port.

When I look at the Local log, I do see a few messages that look like this:

```auto
{"thread":"main","class":"Process","process":"nginx","level":"warn","message":"nginx: [emerg] bind() to 0.0.0.0:80 failed (48: Address already in use)","timestamp":"2021-09-01T10:21:16.103Z"}

```

This part:

```auto
[emerg] bind() to 0.0.0.0:80 failed

```

basically means that Local couldn’t use the default port for HTTP. You’ll likely need to enable `localhost` Router Mode from “Preferences \> Advanced.”

More info about that setting can be found here:

- [https://localwp.com/help-docs/advanced/router-mode/](https://localwp.com/help-docs/advanced/router-mode/)

Can you try using `localhost` Router mode and see if that allows you to access the site?

---

<div class="post-metadata">

**Author:** ![system](https://sea1.discourse-cdn.com/flex019/user_avatar/community.localwp.com/system/32/1_2.png) [@system](https://community.localwp.com/u/system)\
**Post date:** [December 9, 2021, 4:29pm UTC](https://community.localwp.com/t/err-connection-refused-on-1-site/27604/4 "2021-12-09T16:29:59Z")

</div>

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.
