Skip to content

Instantly share code, notes, and snippets.

@hyjk2000
Created February 7, 2021 09:05
Show Gist options
  • Save hyjk2000/4c8e966297325e5bd2e60ab64654283d to your computer and use it in GitHub Desktop.
Save hyjk2000/4c8e966297325e5bd2e60ab64654283d to your computer and use it in GitHub Desktop.
Node.js Tarpit Server
const http = require("http");
const server = http.createServer((req) => {
console.info(`${new Date()} ${req.method} ${req.url}`);
});
server.listen(8080);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment