forked from heckeralt/FreeVM-Server
Add start-linux.js
This commit is contained in:
commit
af74551381
|
@ -0,0 +1,7 @@
|
||||||
|
const http = require('http');
|
||||||
|
const child = require("child_process");
|
||||||
|
//create a server object:
|
||||||
|
http.createServer(function (req, res) {
|
||||||
|
res.write('SSH working at IP: this.is.a.test'); //write a response to the client
|
||||||
|
res.end(); //end the response
|
||||||
|
}).listen(8080); //the server object listens on port 8080
|
Loading…
Reference in New Issue