Node js server not responding outside localhost centos
- by David Martinez
I'm running a basic express server from CentOS but for some reason it is not responding outside of localhost, I have tried everything I have found on google but nothing works so far.
This is my express server:
app.listen(3000,"0.0.0.0");
If I do curl http://localhost:3000/ in the server it works fine.
If I curl to the ip of the server it doesn't…