mirror of
https://github.com/zerotier/ZeroTierOne.git
synced 2024-12-27 08:22:31 +00:00
8 lines
251 B
JavaScript
8 lines
251 B
JavaScript
var http = require('http');
|
|
var server = http.createServer(function (request, response) {
|
|
response.writeHead(200, {"Content-Type": "text/plain"});
|
|
response.end("welcome to the machine!\n");
|
|
});
|
|
server.listen(8080);
|
|
console.log("Server running!");
|