# (56) Recv failure Connection reset by peer error \[Mar 28\]

**URL:** <https://community.nocodb.com/t/56-recv-failure-connection-reset-by-peer-error-mar-28/264>\
**Category:** Discord-Discussions\
**Created:** [November 3, 2022, 8:15am UTC](https://community.nocodb.com/t/56-recv-failure-connection-reset-by-peer-error-mar-28/264 "2022-11-03T08:15:26Z")\
**Posts on this page:** 15\
**Page:** 1

<div class="post-metadata">

**Author:** ![NocoDB](https://avatars.discourse-cdn.com/v4/letter/n/6f9a4e/32.png) [@NocoDB](https://community.nocodb.com/u/NocoDB)\
**Post date:** [November 3, 2022, 8:15am UTC](https://community.nocodb.com/t/56-recv-failure-connection-reset-by-peer-error-mar-28/264/1 "2022-11-03T08:15:26Z")

</div>

> 🙋‍♂️ **katkat\_** _asked_

## Hi everyone, I am having issues deploying this app using docker. I have my ports like this: -p 8484:8080 and 8484 is allowed on the firewall (this is an ubuntu server with nginx). Let’s say I do $ curl -I localhost:8484, I get (56) Recv failure: Connection reset by peer error. I am not very good with docker and I am not sure what I am doing wrong in terms of the networking here. Does anyone have an idea how to fix this?

#### Thanks!

---

<div class="post-metadata">

**Author:** ![NocoDB](https://avatars.discourse-cdn.com/v4/letter/n/6f9a4e/32.png) [@NocoDB](https://community.nocodb.com/u/NocoDB)\
**Post date:** [November 3, 2022, 8:15am UTC](https://community.nocodb.com/t/56-recv-failure-connection-reset-by-peer-error-mar-28/264/2 "2022-11-03T08:15:27Z")

</div>

> 🙋‍♂️ **wkw** _replied_

#### 1. please show the exact command you run

#### 2. please show the result of `docker ps` (just nocodb one)

#### 3. please show the result of `docker inspect nocodb -f "{{ json .NetworkSettings.Networks }}"`

#

---

<div class="post-metadata">

**Author:** ![NocoDB](https://avatars.discourse-cdn.com/v4/letter/n/6f9a4e/32.png) [@NocoDB](https://community.nocodb.com/u/NocoDB)\
**Post date:** [November 3, 2022, 8:15am UTC](https://community.nocodb.com/t/56-recv-failure-connection-reset-by-peer-error-mar-28/264/3 "2022-11-03T08:15:29Z")

</div>

> 🙋‍♂️ **katkat\_** _replied_

#### Hi wkw@discord attached below the outputs I get:

 ![image0](https://canada1.discourse-cdn.com/flex011/uploads/nocodb/original/1X/4bd4af4d96d29a13c1ad515ea6770df4a154dad4.png)

#

---

<div class="post-metadata">

**Author:** ![NocoDB](https://avatars.discourse-cdn.com/v4/letter/n/6f9a4e/32.png) [@NocoDB](https://community.nocodb.com/u/NocoDB)\
**Post date:** [November 3, 2022, 8:15am UTC](https://community.nocodb.com/t/56-recv-failure-connection-reset-by-peer-error-mar-28/264/4 "2022-11-03T08:15:30Z")

</div>

> 🙋‍♂️ **wkw** _replied_

#### wt env did u pass in your env file?

#

---

<div class="post-metadata">

**Author:** ![NocoDB](https://avatars.discourse-cdn.com/v4/letter/n/6f9a4e/32.png) [@NocoDB](https://community.nocodb.com/u/NocoDB)\
**Post date:** [November 3, 2022, 8:15am UTC](https://community.nocodb.com/t/56-recv-failure-connection-reset-by-peer-error-mar-28/264/5 "2022-11-03T08:15:31Z")

</div>

> 🙋‍♂️ **katkat\_** _replied_

#### I passed in: NC\_DB and NC\_AUTH\_JWT\_SECRET

#

---

<div class="post-metadata">

**Author:** ![NocoDB](https://avatars.discourse-cdn.com/v4/letter/n/6f9a4e/32.png) [@NocoDB](https://community.nocodb.com/u/NocoDB)\
**Post date:** [November 3, 2022, 8:15am UTC](https://community.nocodb.com/t/56-recv-failure-connection-reset-by-peer-error-mar-28/264/6 "2022-11-03T08:15:33Z")

</div>

> 🙋‍♂️ **wkw** _replied_

#### is the database defined in NC\_DB also in docker? or in your host machine?

#

---

<div class="post-metadata">

**Author:** ![NocoDB](https://avatars.discourse-cdn.com/v4/letter/n/6f9a4e/32.png) [@NocoDB](https://community.nocodb.com/u/NocoDB)\
**Post date:** [November 3, 2022, 8:15am UTC](https://community.nocodb.com/t/56-recv-failure-connection-reset-by-peer-error-mar-28/264/7 "2022-11-03T08:15:34Z")

</div>

> 🙋‍♂️ **wkw** _replied_

#### if i don’t specify it, r u able to hit this error ?

#

---

<div class="post-metadata">

**Author:** ![NocoDB](https://avatars.discourse-cdn.com/v4/letter/n/6f9a4e/32.png) [@NocoDB](https://community.nocodb.com/u/NocoDB)\
**Post date:** [November 3, 2022, 8:15am UTC](https://community.nocodb.com/t/56-recv-failure-connection-reset-by-peer-error-mar-28/264/8 "2022-11-03T08:15:35Z")

</div>

> 🙋‍♂️ **katkat\_** _replied_

#### The database is a postgresql sitting on the host machine but the credentials are all defined using NC\_DB in my env file.

#

---

<div class="post-metadata">

**Author:** ![NocoDB](https://avatars.discourse-cdn.com/v4/letter/n/6f9a4e/32.png) [@NocoDB](https://community.nocodb.com/u/NocoDB)\
**Post date:** [November 3, 2022, 8:15am UTC](https://community.nocodb.com/t/56-recv-failure-connection-reset-by-peer-error-mar-28/264/9 "2022-11-03T08:15:38Z")

</div>

> 🙋‍♂️ **katkat\_** _replied_

#### I can ping the container on the host machine using its IP but when I pass the port 8080 that nocodb is supposed to listen on, I get the error of connection reset.

#

---

<div class="post-metadata">

**Author:** ![NocoDB](https://avatars.discourse-cdn.com/v4/letter/n/6f9a4e/32.png) [@NocoDB](https://community.nocodb.com/u/NocoDB)\
**Post date:** [November 3, 2022, 8:15am UTC](https://community.nocodb.com/t/56-recv-failure-connection-reset-by-peer-error-mar-28/264/10 "2022-11-03T08:15:39Z")

</div>

> 🙋‍♂️ **wkw** _replied_

#### any docker log can share?

#

---

<div class="post-metadata">

**Author:** ![NocoDB](https://avatars.discourse-cdn.com/v4/letter/n/6f9a4e/32.png) [@NocoDB](https://community.nocodb.com/u/NocoDB)\
**Post date:** [November 3, 2022, 8:15am UTC](https://community.nocodb.com/t/56-recv-failure-connection-reset-by-peer-error-mar-28/264/11 "2022-11-03T08:15:41Z")

</div>

> 🙋‍♂️ **wkw** _replied_

#### nocodb one

#

---

<div class="post-metadata">

**Author:** ![NocoDB](https://avatars.discourse-cdn.com/v4/letter/n/6f9a4e/32.png) [@NocoDB](https://community.nocodb.com/u/NocoDB)\
**Post date:** [November 3, 2022, 8:15am UTC](https://community.nocodb.com/t/56-recv-failure-connection-reset-by-peer-error-mar-28/264/12 "2022-11-03T08:15:42Z")

</div>

> 🙋‍♂️ **katkat\_** _replied_

#### Okay, I think I can now see something useful for troubleshooting.

#### My logs show: Invalid URL for the NC\_DB I defined.

#### I think my problem now is, how am I supposed to pass the NC\_DB in my env?

#### Here is how I passed it:

#### NC\_DB=“pg://myhosturl:5432?u=nocodb&p=mypassword&d=nocodb”

#

---

<div class="post-metadata">

**Author:** ![NocoDB](https://avatars.discourse-cdn.com/v4/letter/n/6f9a4e/32.png) [@NocoDB](https://community.nocodb.com/u/NocoDB)\
**Post date:** [November 3, 2022, 8:15am UTC](https://community.nocodb.com/t/56-recv-failure-connection-reset-by-peer-error-mar-28/264/13 "2022-11-03T08:15:43Z")

</div>

> 🙋‍♂️ **wkw** _replied_

#### in .env file? try without double quotes

#

---

<div class="post-metadata">

**Author:** ![NocoDB](https://avatars.discourse-cdn.com/v4/letter/n/6f9a4e/32.png) [@NocoDB](https://community.nocodb.com/u/NocoDB)\
**Post date:** [November 3, 2022, 8:15am UTC](https://community.nocodb.com/t/56-recv-failure-connection-reset-by-peer-error-mar-28/264/14 "2022-11-03T08:15:44Z")

</div>

> 🙋‍♂️ **katkat\_** _replied_

#### Thank you so much. That worked out so well. My nocodb instance is now running.

#### Thank y’all for the great product.

#

---

<div class="post-metadata">

**Author:** ![NocoDB](https://avatars.discourse-cdn.com/v4/letter/n/6f9a4e/32.png) [@NocoDB](https://community.nocodb.com/u/NocoDB)\
**Post date:** [November 3, 2022, 8:15am UTC](https://community.nocodb.com/t/56-recv-failure-connection-reset-by-peer-error-mar-28/264/15 "2022-11-03T08:15:45Z")

</div>

[Autogenerated from discord](https://discord.com/channels/661905455894888490/956664952201039943)

* * *

#### Join [NocoDB’s](http://www.nocodb.com/) community

[Discord](https://discord.gg/5RgZmkW) • [Twitter](https://twitter.com/nocodb) • [Reddit](https://www.reddit.com/r/NocoDB/) • [Docs](https://docs.nocodb.com/)
