# Port already in use, what to do?

**URL:** <https://meta.discourse.org/t/port-already-in-use-what-to-do/27954>\
**Category:** Self-hosting\
**Created:** [2015 年 4 月 25 日午後 5:56 UTC](https://meta.discourse.org/t/port-already-in-use-what-to-do/27954 "2015-04-25T17:56:10Z")\
**Posts on this page:** 1\
**Showing post:** 9

<div class="post-metadata">

**Author:** ![riking](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/riking/32/170938_2.png) [@riking](https://meta.discourse.org/u/riking)\
**Post date:** [2015 年 4 月 26 日午前 12:20 UTC](https://meta.discourse.org/t/port-already-in-use-what-to-do/27954/9 "2015-04-26T00:20:32Z")

</div>

The first post isn’t using port 4001 anymore, but rather a UNIX socket connection to get into the container. It’s supposed to get you to set up a nginx on the host that proxies to either Discourse or your other sites.

---

_[View the full topic](https://meta.discourse.org/t/port-already-in-use-what-to-do/27954)._
