May 26, 20178 yr Title is the question. I have seen LOUDIP but I am not able to get it functioning. Are there any ways to check if the proxy is working correctly?
May 26, 20178 yr sec public String getCurrentIPAddress() { try { URL url = new URL("http://myip.dnsomatic.com/"); try (BufferedReader b = new BufferedReader(new InputStreamReader(url.openStream()))) { String ip = b.readLine(); return ip; } } catch (Exception e) { e.printStackTrace(); } return "null"; } Edited May 26, 20178 yr by dmmslaver
Create an account or sign in to comment