parent
7751140a1c
commit
ed591eec6f
|
@ -0,0 +1,7 @@
|
||||||
|
var http = require('http');
|
||||||
|
|
||||||
|
//create a server object:
|
||||||
|
http.createServer(function (req, res) {
|
||||||
|
res.write('Hello World!'); //write a response to the client
|
||||||
|
res.end(); //end the response
|
||||||
|
}).listen(49152); //the server object listens on port 8080
|
Loading…
Reference in New Issue