Skip to content

Instantly share code, notes, and snippets.

@hareeqi
Last active March 17, 2020 09:55
Show Gist options
  • Save hareeqi/fc957048f1a0e7edd97248a0e15ebcbf to your computer and use it in GitHub Desktop.
Save hareeqi/fc957048f1a0e7edd97248a0e15ebcbf to your computer and use it in GitHub Desktop.
const http = require('http');
const server = http.createServer((req, res) => {
res.send("hello")
res.end();
});
server.listen(80);
console.log(`service running`);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment