- Smart Personal Cloud

What is My IP?

1

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.

2

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

3

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()
4

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();
5

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