After following Set Up Flask with MongoDB and Docker. I got stuck at part 7. As I’m on a Mac, my terminal returns
500 Internal Server Error
when I enter the command
curl -i http://0.0.0.0:5000
. Would you happen to know how to solve this problem?
I tried to change the port on my Dockfile
Failed to connect to 0.0.0.0 port 5001 after 12 ms: Couldn't connect to server
But I get this error message.And I’ve seen that my JSON file on dockers doesn’t update me with the port change and keeps
0.0.0.0:5000
New contributor
bixente is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.