Ver originalSystem.out.println(InetAddress.getLocalHost().getHostAddress());System.out.println(InetAddress.getLocalHost().getHostName());