# Difference between socket- and port-based connection to outer NGINX?

**URL:** <https://meta.discourse.org/t/difference-between-socket-and-port-based-connection-to-outer-nginx/60071>\
**Category:** Self-hosting\
**Created:** [3월 29, 2017, 12:09오전 UTC](https://meta.discourse.org/t/difference-between-socket-and-port-based-connection-to-outer-nginx/60071 "2017-03-29T00:09:05Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![tophee](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/tophee/32/73406_2.png) [@tophee](https://meta.discourse.org/u/tophee)\
**Post date:** [3월 29, 2017, 12:15오전 UTC](https://meta.discourse.org/t/difference-between-socket-and-port-based-connection-to-outer-nginx/60071/3 "2017-03-29T00:15:00Z")

</div>

OK, so I’ll continue trying the UNIX socket. What would be some steps for trouble shooting why a UNIX socket is not working? (I already have the `default_server` listening on port 81 for the time being, just to have it out of the way)

---

_[View the full topic](https://meta.discourse.org/t/difference-between-socket-and-port-based-connection-to-outer-nginx/60071)._
