One Article Review

Accueil - L'article:
Source codingsec.webp CodingSec
Identifiant 588
Date de publication 2016-04-18 16:54:52 (vue: 2016-04-18 16:54:52)
Titre How to find the IP address of the given list of domains using java
Texte In this article I am going to explain you how to find the Ip address of the domains using java code which will help you with better server connectivity. we will find ip address by using InetAddress class present in java.net package. Method getLocalHost() prints the ip of your local machine while method getByName()prints the ip of a particular url.   JAVA CODE TO FIND THE IP ADDRESS OF THE DOMAIN import java.net.*; class FindIP { public static void main(String…s)throws Exception { System.out.println(InetAddress.getLocalHost()); String arr = {"www.google.com","www.facebook.com","www.twitter.com","www.codingsec.net"}; for (int counter = 0; counter<arr.length(); counter++) System.out.println(InetAddress.getByName(“arr”)); } } In the above code
Envoyé Oui
Condensat "www above address appeared arr article better class code coding codingsec com" connectivity counter counter<arr counter++ domain domains exception explain facebook find findip first getbyname getlocalhost given going google help how import inetaddress int java length list local machine main method net net" out package particular post present println prints public security server static string string…s system throws twitter url using using inetaddress void which will your “arr”
Tags
Stories
Notes
Move


L'article ne semble pas avoir été repris aprés sa publication.


L'article ne semble pas avoir été repris sur un précédent.
My email: