I am currently developing an android multiplayer game (one on one fighting) using libgdx graphics api and the kryonet api for all server client networking . In case you might not know , libgdx is an open source java api for game development . Kryonet is an independent networking api suitable for games pc,android and linux . So far everything is going good ,... made a server , 2 clients as players .
I tried running server and clients in pc . Its working . I then tried running server on pc and player clients in android phone . Its working .
But... the problem happend when i use my android phone as a server . my client program cannot discover the android server . I even made sure i used the ip of my phone from whatsmyip.com . But my android server is still invisible . I made sure i set the manifests correctly with the internet permissions .
Is it even possible to run an android phone as a server due to its mobild ip ? I badly need to make this work so that a central server is not needed . Players can simply play in a p2p fashion where one players starts a server and the other player just joins the server player .