Hello everybody, I'm honing a small software for Telecommunication UPD server (desktop (b4j)) and client (Android) or (iOs), using the following code to retrieve ip server (desktop (b4j)) use;
Private SS As ServerSocket
SS.Initialize (6002, "ss")
ip = SS.GetMyIP
the result is not what I expect namely 192.168.1.xx but other as 137.10.211.xxx
I do not understand, how can I retrieve ip of the machine where the server boot!
Check the network settings on the PC/Server to see if there is more then 1 ip address assigned to it, also check if the if an Internet connection to it, and if so launch your browser and go to http://www.whatsmyip.org/