moonlight-stream / moonlight-android

GameStream client for Android
GNU General Public License v3.0
3.16k stars 503 forks source link

[Issue]: Pair Home Desktop with domain name. It can not connect while the ip address link to the domain is changed. #1347

Open Shengyis opened 2 months ago

Shengyis commented 2 months ago

Describe the bug

I have set both ipv4 (public), ipv6, and bind them to the same domain name, my router has configured the ddns v4 and v6 correctly. In moonlight, I first link my phone and desktop under LAN, and manually add address using the domain name also under LAN. It works well when I use phone data, the active Address shows "domain name:74989". It can be stable for few days, until my public ipv4 address (or public ipv6) changes because of my network operator, which I can not control..Then at WAN, I can no longer connect to my home-desktop, until I go back home and link my computer once again. If I manually add the new ipv4 or v6 address under WAN, it always shows can not connect, go to check port and firewall etc...

Steps to reproduce

just wait until net operator changes my WAN public address.

Affected games

All

Other Moonlight clients

iOS

Moonlight adjusted settings

No

Moonlight adjusted settings (please complete the following information)

no change

Moonlight default settings

Yes

Gamepad-related connection issue

No

Gamepad-related input issue

No

Gamepad-related streaming issue

No

Android version

12.1

Device model

Huawei P40pro

Server PC OS version

Win11, 23H4

Server PC GeForce Experience version

Sunshine 22.1

Server PC Nvidia GPU driver version

latest

Server PC antivirus and firewall software

build in

Screenshots

No response

Relevant log output

No response

Additional context

No response