I have a router, and when I ask my IP address with this command: InetAddress.getLocalHost().getHostAddress(); then I got my inner IP address. When I step into the www.whatismyip.com page on web then I got an other IP address and that is my real address.
How I ask in Java this real IP address?
Thanks...