Skip to content
← Back to Community
My repl do not connect (discord.js)
Profile icon
Yhya8

Iam Join The Repl But No Connected And All My Repls Is Working Connect Why?

Voters
Profile icon
Yhya8
Comments
hotnewtop
Profile icon
Coder100

Hello, that is because there is no http server!
Here is the solution. Just append this to the end of the file:

const http = require("http"); http.createServer((_, res) => res.end("Alive")).listen(8080);