Frontend is not connecting to backend on EC2

0

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.

Here are my inbound rules for ec2 instance

gefragt vor einem Jahr90 Aufrufe
1 Antwort
0

Hey Omar, were you able to resolve this issue? We are also getting this.

beantwortet vor 14 Tagen

Du bist nicht angemeldet. Anmelden um eine Antwort zu veröffentlichen.

Eine gute Antwort beantwortet die Frage klar, gibt konstruktives Feedback und fördert die berufliche Weiterentwicklung des Fragenstellers.

Richtlinien für die Beantwortung von Fragen