CustomPort - Port Selection for LAN Servers
With this modification, you gain the ability to specify an arbitrary port when opening a world via local network. The selected port is preserved after game restarts, eliminating the need to reconfigure the connection each time.