I am trying to launch a microservice for wordpress and using service connect to connect three services Nginx, db, php. But my services are not able to connect to each other.

0

I used used 3 task definition to launch 3 different services of nginx, db(mysql), php(php-fpm). and I created a namespace called wp-micro. In the Nginx configuration i gave the endpoint of phpfpm service as php.wp-micro:9000. And for connection with database service I gave the mysql endpoints as db.wp-micro:3306. My services are up and running but I am getting error 502, while accessing the wordpress. I had done the same thing perfectly fine using the service discovery on the Old Classic Console of ECS.

service and client service connect configuration getting these error in nginx logs

답변 없음

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인

관련 콘텐츠