getByAddress(byte[] addr) code example
Example: InetAddress.getByAddress example
InetAddress addr = InetAddress.getByAddress("Localhost",new byte[] { 127, 0, 0, 1 });
InetAddress addr = InetAddress.getByAddress("Localhost",new byte[] { 127, 0, 0, 1 });