<!-- Inicio enlace Tutores.org -->
<a title="Tutores.org - Obtener ip del visitante" href="http://www.tutores.org/codigo/470/" target="_blank">Obtener ip del visitante</a>
<!-- Final enlace Tutores.org -->
<script>
document.write(location.hostname + " puerto " + location.port);
var localhost = java.net.InetAddress.getLocalHost();
var IP = localhost.getHostAddress();
document.write("<br>" + IP +"<br>"+ localhost);
</script>
<!-- a veces hay que compartir con los menos afortuna2 ::lol:: -->