- Smart Personal Cloud

What is My IP?


Sometimes, it is useful to know your own public IP address. Using MyExApp, it is very easy to do it. This tutorial will show you how.


Simply click the URL http://www.myezapp.com/pub/myip.ws. The page will display your IP address.


If you are wondering how the myip.ws script works, below is the complete source code. Two lines in total:

use /web/http http.request().getRemoteAddr()

To get your public IP address from your Java environment, below is the sample code:

URL myip = new URL("http://www.myezapp.com/pub/myip.ws"); BufferedReader in = new BufferedReader(new InputStreamReader(myip.openStream())); String ip = (in.readLine()).trim();

It is very easy to get your public IP address using MyEzApp.com. Have fun!