Is there a way to know the server port after it has been started (without keeping track of it myself)? I was looking for something like NetworkServer.listenPort, but found nothing…
I know there is a networkPort property in the NetworkManager, but it’s set manually before starting and could be wrong later.
Also, is there an easy way to get the local (LAN) ip address? The networkAddress property of NetworkManager doesn’t help here…