educative.io

Educative

"App refused to connect"

To whom it may concern,

I had exactly the same content in the docker compose file as in the solution:

prestashop:
image: prestashop/prestashop
container_name: prestashop
environment:
DB_SERVER: mysql
ports:
- “80:8080”
restart: always
networks:
- prestashop-net

But when I clicked “RUN” and went to the “Your app can be found at” URL it tells me “Your app refused to connect.”. I wonder if I did anything wrong or there’s a glitch on your side

@Alvaro_Fernandez Hi, hope you’re doing well.
App is running fine on our end, maybe it’s because of spacing because in yaml file we have to be very careful regarding spacing. So please cross-check it or match the spacing with the solution given in the next lesson.



Hope this helps :))