# Open port for space to connect to PostgreSQL

**URL:** </static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Fopen-port-for-space-to-connect-to-postgresql%2F29938%3E%5C
**Category:** Spaces\
**Created:** [January 18, 2023, 9:09am UTC](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Fopen-port-for-space-to-connect-to-postgresql%2F29938 "2023-01-18T09:09:42Z")\
**Posts on this page:** 1\
**Showing post:** 9

<div class="post-metadata">

**Author:** ![deepkyu](https://sea2.discourse-cdn.com/hellohellohello/user_avatar/discuss.huggingface.co/deepkyu/32/19615_2.png) [@deepkyu](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Fu%2Fdeepkyu)%5C
**Post date:** [January 20, 2023, 1:49pm UTC](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Fopen-port-for-space-to-connect-to-postgresql%2F29938%2F9 "2023-01-20T13:49:37Z")

</div>

@anon86412018  
Oh I see. that’s also one of weird situations…

From my experience, I concluded that there were some outbound policies in Hugging Face Space server which blocks unprivileged ports. At that time, my docker container at my AWS instance communicates well from other servers’ request except the HF Space.

I’m sorry for not being helpful tho.  
Hope it works out 👍

---

_[View the full topic](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Fopen-port-for-space-to-connect-to-postgresql%2F29938)._
