Q: curl docker works on local machine but not on server I have created a docker-compose file to run my nodejs server, then i deployed it on my server
when I curl (or send a GET request with postman) the ip adress of my server with the specific port, it works (http://mywebsite:5000 )
But when I curl the same adress FROM MY SERVER (with ssh) : curl http://mywebsite:5000 I get:
curl: (7) Failed to connect to http://mywebsite.com:5000; connection refused
Any help please?
Thank you.

A: Your server probably has proxy or firewall restrictions and it's blocking your requesting for your mywebsite domain, or the 5000 port or both
