I've deployed two containers, one for my frontend which is react, and another for my flask backend. I run them with docker-compose file which specifies the necessary instruction for the communication.
The workflow is working well on my local host, but on ec2, the front is not connecting or sending any requests to the backend.