public static PortScan onAddress(@NonNull String address) throws UnknownHostException {
  PortScan portScan=new PortScan();
  InetAddress ia=InetAddress.getByName(address);
  portScan.setAddress(ia);
  return portScan;
}

public static PortScan onAddress ( @ NonNull String address ) throws UnknownHostException { PortScan portScan = new PortScan ( ) ; InetAddress ia = InetAddress . getByName ( address ) ; portScan . setAddress ( ia ) ; return portScan ; }
set the address to ping
