[SOLVED] Server discovery

I am writing a multiplayer android app and I am using Kryonet for networking. Does Kryonet support server discovery outside LAN? If it doesn’t, how would a multiplayer game support server discovery?

Thank you! ;D ;D

You could have a 24/7 main server running that stores a list of all servers that are up (and discoverable). When a server goes up or down, update the main server listing. Then, clients wishing for a list would just request this information from the main server.

There is no service discovery outside of LANs. You always have to use a discovery strategy that consists of a known endpoint to store and query available server lists, as Longarmx said.