# Ray use too many port, maybe there should have a proxy!

**URL:** <https://discuss.ray.io/t/ray-use-too-many-port-maybe-there-should-have-a-proxy/14751>\
**Category:** Ray Core\
**Created:** [May 21, 2024, 4:00am UTC](https://discuss.ray.io/t/ray-use-too-many-port-maybe-there-should-have-a-proxy/14751 "2024-05-21T04:00:01Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Asudo](https://avatars.discourse-cdn.com/v4/letter/a/45deac/32.png) [@Asudo](https://discuss.ray.io/u/Asudo)\
**Post date:** [May 21, 2024, 4:00am UTC](https://discuss.ray.io/t/ray-use-too-many-port-maybe-there-should-have-a-proxy/14751/1 "2024-05-21T04:00:01Z")

</div>

**How severe does this issue affect your experience of using Ray?**

- High: It blocks me to complete my task.

For many reason, I don’t have enough port to run Ray. Port is public resource, and I need to share with my workmates.

Ray need about 10 port ([Configuring Ray — Ray 2.22.0](https://docs.ray.io/en/latest/ray-core/configure.html#ports-configurations)) for basic run, and every worker need a port, that is too much for me.

Ray should do something for this, like unix socket or proxy process.

---

<div class="post-metadata">

**Author:** ![Sam\_Chan](https://sea2.discourse-cdn.com/flex020/user_avatar/discuss.ray.io/sam_chan/32/5011_2.png) [@Sam\_Chan](https://discuss.ray.io/u/Sam_Chan)\
**Post date:** [May 22, 2024, 10:35pm UTC](https://discuss.ray.io/t/ray-use-too-many-port-maybe-there-should-have-a-proxy/14751/2 "2024-05-22T22:35:15Z")

</div>

Hmm…how many workmates are on a single machine? On Linux there’s ~50k ports they are all utilized?

Still though it’s not a bad feature to have - can you cut a Github feature request and we can continue the discussion there. Would also be good to get feedback from the Ray Community at large to see if this is something that is largely impactful.

---

<div class="post-metadata">

**Author:** ![Asudo](https://avatars.discourse-cdn.com/v4/letter/a/45deac/32.png) [@Asudo](https://discuss.ray.io/u/Asudo)\
**Post date:** [May 27, 2024, 7:54am UTC](https://discuss.ray.io/t/ray-use-too-many-port-maybe-there-should-have-a-proxy/14751/3 "2024-05-27T07:54:59Z")

</div>

I will make a issue on github.

---

<div class="post-metadata">

**Author:** ![Sam\_Chan](https://sea2.discourse-cdn.com/flex020/user_avatar/discuss.ray.io/sam_chan/32/5011_2.png) [@Sam\_Chan](https://discuss.ray.io/u/Sam_Chan)\
**Post date:** [June 18, 2024, 11:12pm UTC](https://discuss.ray.io/t/ray-use-too-many-port-maybe-there-should-have-a-proxy/14751/4 "2024-06-18T23:12:07Z")

</div>

[Ray should have a proxy to reduce the port number. · Issue #45574 · ray-project/ray · GitHub](https://github.com/ray-project/ray/issues/45574) \< here \> TY much @Asudo
