If you are looking to to solve this permanently within the game's code, consider implementing UDP Broadcasting :
: The most reliable way to connect is through the Steam Overlay (Shift+Tab) rather than manually entering IP addresses. Developing a Native LAN Discovery Feature Craftopia Fix LAN.rar
: Program the Host machine to send a "Heartbeat" packet every few seconds on a specific port (e.g., 8788) containing the Server Name and Internal IP. If you are looking to to solve this
Before using third-party .rar files—which can be risky—try these official methods to fix LAN and multiplayer issues in : Craftopia Fix LAN.rar
: The Client's "Join LAN" menu should listen for these packets on the local subnet.