I have a Webapp standalone installed on a mac mini. It is easy enough to find my local LAN IP address. However, I need to programmatically find the public IP address of my WAN (router). Can someone help me out?
Use a URLConnection to get that.
Thanks Greg for that so simple solution… and promptly answered