-
Notifications
You must be signed in to change notification settings - Fork 191
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Allow using a server link without a port #125
Comments
switch lan play uses both TCP and UDP on the same port number. (TCP/HTTP for query infomation, UDP for gaming data, the client only uses UDP). And UDP is not a part of |
I think you might want the user to omit the port part |
My LAN-Play Server runs within my network. I have enabled port forwarding for 11451 on UDP and TCP on my router. for my subdomain switch.mydomain.com I have set up a proxy redirection, means that when I access switch.smartlife.tk it automatically gets redirected to my local IP 192.168.1.2 and the port 11451. But I am unable to tell the lan play client to just use this domain, it forces me to enter a port number.
If it is technically not possible because of your first explanation, then its fine, I just thought that this should be doable. |
@FaserF it could be because you also have ipv6, dns prefers ipv6 over ipv4, so when you use the fqdn, it's trying to connect to the ipv6 which the client doesn't support. Since there's 0 support for v6 at this time, there's no method to specify using the ipv4 ip. The only other potential option would be to put ONLY the ipv4 in your /etc/hosts (or windows hosts) and it will stop looking up the ipv6 |
I‘ve got an ipv4 Adress (only) unfortunately :/ |
not according to the DNS lookup.
based on the above, it is likely precisely what i stated |
Thank you for your work. Please allow in the clients the usage without a server port.
Background. I have a subdomain switch.mydomain.com with a Proxy behind it. The proxy sends the web page to my docker switch lan play server to the correct port (11451).
So I would like to tell the client to use switch.mydomain.com as my server url, but it fails and stops with an error that the IP couldn't be parsed.
The text was updated successfully, but these errors were encountered: