how to find valid web servers from a list of random IPs

IP Address Questions and AnswersCategory: IP Questionshow to find valid web servers from a list of random IPs
deejaykaz asked 3 years ago

I need to sample 1 million web pages for their languages.
after generating random IPs , I need to know which ones belong to a web server. How can I check this.

(I pinged got their IP ,
but using java
InetAddress addr = InetAddress.getByName("");
I get addr.getHostName as "" which is not reachable using the InetAddress.isReachable(maxTimeInMsToTry)
any help will be much appreciated.


1 Answers
Cody Robertson Staff answered 3 years ago


I can help you with this. However I'd like to know "why are you doing this?". You'll understand that this kind of activity is a very greedy use of network resources. I'd also prefer to discuss this off-line with you as I don't want to discuss this openly. You can contact me directly from my web site:

Know the answer? Login or sign up for an account to answer this question.
Sign Up