Closed epaisano closed 9 months ago
The production config is a bit trickier than the development config because there are three different web programs that all need to work together correctly: flask, gunicorn and nginx. The problem is likely that somewhere a port is misspecified in the configuration related to gunicorn and nginx, since these are the two new services you've added for production. The most straightforward "fix" is to redo those configuration steps, paying careful attention to the ports as you go. Good luck :)
Hi!
I have been successful in opening my links in past sections. However, when I got to the end of the Production Dockerfile section of the tutorial, I was unable to open my link.
I was successful in running the following:
After which, I ran the following:
The port number, 6275, is the number in my docker-compose.prod.yml file. The error I am getting is:
Error loading http://localhost:6275: Connection refused
I thought it was maybe due to my ssh login info, but then I logged in with port forwarding and it was still not working. Does anyone have any idea what it might be?? Any help would be greatly appreciated--thanks!