1 2 3 4 5 6 7 | var http = require("http"); http.createServer(function(request, response) { response.writeHead(200, {"Content-Type": "text/html"}); response.write("Servidor funcionando"); response.end(); }).listen(8888); |
1 2 3 4 5 6 7 | var http = require("http"); http.createServer(function(request, response) { response.writeHead(200, {"Content-Type": "text/html"}); response.write("Servidor funcionando"); response.end(); }).listen(8888); |