moonlight-android icon indicating copy to clipboard operation
moonlight-android copied to clipboard

The possibility to change Moonlight ports (client side)

Open Ali-Flt opened this issue 3 years ago • 8 comments

I have a use-case where only a certain port range is open on my Public IP address. Therefore I can't put the moonlight server on the default ports.

So Is there anyway to change moonlight clients' ports? I think the server side is not gonna be an issue (one can forward server ports to another ports) but I don't think the client will know on which ports to connect to server.

I believe this is actually a very normal feature to have since using moonlight over network is a possibility.

Ali-Flt avatar Feb 21 '22 11:02 Ali-Flt

I'd like to fork this project to do this, and you might see the ability to modify the port come out, maybe.

906051999 avatar Feb 22 '22 09:02 906051999

Hello again. I saw new version of Android release, but not different port support, can you add or you forgot?

SerkaFox avatar Mar 28 '22 22:03 SerkaFox

请问解决了改变安卓客户端端口的问题没有,请回复一下,谢谢

qinchanggen avatar Jun 05 '23 02:06 qinchanggen

请问解决了改变安卓客户端端口的问题没有,请回复一下,谢谢

是的,他們解決了問題。 您可以從 github 鏈接下載新版本。 https://github.com/moonlight-stream/moonlight-qt/releases/tag/v4.3.1

SerkaFox avatar Jun 05 '23 20:06 SerkaFox

请问解决了改变安卓客户端端口的问题没有,请回复一下,谢谢

是的,他們解決了問題。您可以從 github 鏈接下載新版本。 https://github.com/moonlight-stream/moonlight-qt/releases/tag/v4.3.1

我不需要电脑版的月光,我需要在安卓端上面更改指定的端口号,请问你有什么好的解决办法吗 或者说我需要更改哪些代码内容,非常感谢

qinchanggen avatar Jun 06 '23 01:06 qinchanggen

我有一个用例,在我的公共 IP 地址上只打开了某个端口范围。因此,我无法将月光服务器放在默认端口上。

那么有没有办法改变月光客户端的端口呢?我认为服务器端不会成为问题(可以将服务器端口转发到另一个端口),但我认为客户端不会知道在哪些端口上连接到服务器。

我相信这实际上是一个非常正常的功能,因为可以通过网络使用月光。

请问你解决了客户端改变端口的问题了吗,麻烦告知一下,万分感谢

qinchanggen avatar Jun 06 '23 03:06 qinchanggen

请问解决了改变安卓客户端端口的问题没有,请回复一下,谢谢

是的,他們解決了問題。您可以從 github 鏈接下載新版本。 https://github.com/moonlight-stream/moonlight-qt/releases/tag/v4.3.1

请回复一下

qinchanggen avatar Jun 08 '23 02:06 qinchanggen

请问解决了改变安卓客户端端口的问题没有,请回复一下,谢谢

是的,他們解決了問題。您可以從 github 鏈接下載新版本。 https://github.com/moonlight-stream/moonlight-qt/releases/tag/v4.3.1

请回复一下

If you dig into the core, you can find out the ports to be used are returned by the server except the initial connection one (47989). You can configurate the initial connection port by appending the designed port to the host name, like "test.host:57989".

Therefore it isn't a matter of which moonlight client you're using.

seflerZ avatar Oct 18 '23 03:10 seflerZ