Ask coding questions

← Back to all posts
express blocking requests
AryaAnish

My repl blocks all requests from the URL and the IP, I don't know why can anyone explain it (but puppeteer works)

Voters
AryaAnish
Comments
hotnewtop
SixBeeps

Well that's your issue, you're not hosting on 0.0.0.0

Might wanna change that. Also, you have some JS errors to work out.

AryaAnish

@SixBeeps thanks, but how do I do that, well, I think by changing app.listen(3000, '0.0.0.0'), also I added whatsmyip for checking the ip, will remove it