# ERR\_CONNECTION\_CLOSED when trying to open local site

**URL:** https://community.kinsta.com/t/err-connection-closed-when-trying-to-open-local-site/1364
**Category:** Application Support
**Created:** [March 23, 2022, 10:29am UTC](https://community.kinsta.com/t/err-connection-closed-when-trying-to-open-local-site/1364 "2022-03-23T10:29:56Z")
**Posts on this page:** 1
**Showing post:** 17

<div class="post-metadata">

### Author: ![whadaday](https://sea2.discourse-cdn.com/flex020/user_avatar/community.kinsta.com/whadaday/32/2194_2.png) [@whadaday](https://community.kinsta.com/u/whadaday)
#### Post date: [September 6, 2023, 7:21am UTC](https://community.kinsta.com/t/err-connection-closed-when-trying-to-open-local-site/1364/17 "2023-09-06T07:21:47Z")

</div>

Hi Changed the ports to

```auto
set $php_path devkinsta_fpm:9003;

  listen 62090;
  listen [::]:62090;
  listen 62091 ssl http2;
  listen [::]:62091 ssl http2;

```

Now I get this error. This is with and without ssl activated

```auto
400 Bad Request
The plain HTTP request was sent to HTTPS port
nginx

```

---

_[View the full topic](https://community.kinsta.com/t/err-connection-closed-when-trying-to-open-local-site/1364)._
