1
 abrir un editor de texto y crear un nuevo archivo JavaScript 
 2 
 Ponga el texto siguiente en el archivo: 
 
var http = requiere ( 'http '); http.createServer (function ( request, response ) { response.writeHead ( 200 , { 'Content- Type' : 'text /html' } ) ; Response.End ( ' html head ; < /head>
 Hello World < /h1 > < /body> < /html > \\ n " ) ; . } ) escuchar ( 8080, " 127.0.0.1 ") ; console.log ( " Server que se ejecuta en http://127.0.0.1:8080/'); 
 3 
 arrastrar y soltar el archivo en el programa node.exe . Esto le dice a JS nodo para ejecutar el archivo JavaScript 
 4 
 Añada la siguiente línea al final del archivo de configuración de Apache , que está ubicado en "C: . \\ Archivos de programa \\ Apache Software Foundation \\ apache2.2 \\ conf \\ httpd.conf "por defecto : 
 
 ProxyPass /http://localhost:1337/
 5 
 Abra un navegador web y vaya a su servidor Apache en " http://localhost/. " verá " Hello World " servido por el JS nodo detrás de su servidor Apache . 
 
 
          
