• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

Help How to find WAN IP/External IP Address of Android device without call any web request

Hi,
I need to find WAN IP/External IP address of android device without any web request call.I
searched many sites,they conclude to send http request to www.whatismyip.com or other url.
Is there any other possibilities to get WAN IP from device without web request?
 
For an app-based solution see Network Scanner.

Otherwise, if you have physical access to the device, Settings/About device/Status will list the external IP when connected to the mobile network. If it's connected to wifi though, the IP address will be a private one allocated by the router's DHCP server. The WAN IP will only be visible outside the local network, hence the need for a request to a web site.
 
Back
Top Bottom