OpenRCT2 / OpenRCT2

An open source re-implementation of RollerCoaster Tycoon 2 🎢
https://openrct2.io
GNU General Public License v3.0
13.27k stars 1.52k forks source link

Server Advertising Does Not Work if IPV6 is enabled on a router #22221

Open Mattiator opened 1 month ago

Mattiator commented 1 month ago

Operating System

Windows 10, 64-bit

OpenRCT2 build

OpenRCT2, v0.4.11-303-gc467019 (c467019 on develop) provided by GitHub

Base game

RollerCoaster Tycoon 2

Area(s) with this issue?

This bug is specific to multiplayer

Describe the issue

I have been struggling for a few days to get my server to advertise via the in-game server hosting. A member of the OpenRCT2 discord suggested disabling IPV6 in my ISP's router. This appears to have solved my issue.

Steps to reproduce

If your server is not being advertised in the master server list, enter your ISP router's settings and disable IPV6. This should allow it to be advertised.

Attachments

No response

deurklink commented 1 month ago

For me advertising my server failed until I disabled IPv6 in the adapter settings of the Wifi adapter on my laptop. Either way, looks like something goes wrong with IPv6 enabled.

Gymnasiast commented 1 month ago

IPv6 is not always configured quite correctly on the router level (by the ISP or the user), with port forwarding often only set up for IPv4.

I think a good (temporary) fix is for OpenRCT2 to retry the request as IPv4-only if advertising using dual stack fails. Edit: it already seems to do that. Odd.