0

Iam just trying to find my router's ip address programmatically in java. When i went through internet i found an url http://ipecho.net/plain which returns ip address of my router in a webpage. Is there a way to bring the content of that webpage to a file in java so that I can use that in my java program. Regards

Achu
  • 1
  • 1

1 Answers1

0

Yes there is. You could crawl your own ip. Try:http://www.programcreek.com/2012/12/how-to-make-a-web-crawler-using-java/.