Docker. Communication between Laravel containers

I have a project that I am trying to develop with a microservices approach. I prepared the APIs on two separate microservices and completed their tests. When I send a request from container A to container B, I get the error cURL error 7: Could not conn…


This content originally appeared on DEV Community and was authored by Berk CAN

I have a project that I am trying to develop with a microservices approach. I prepared the APIs on two separate microservices and completed their tests. When I send a request from container A to container B, I get the error cURL error 7: Could not connect to localhost port 8100: Connection refused. After my research, I couldn't find a solution.

Address


This content originally appeared on DEV Community and was authored by Berk CAN


Print Share Comment Cite Upload Translate Updates
APA

Berk CAN | Sciencx (2022-01-04T18:40:44+00:00) Docker. Communication between Laravel containers. Retrieved from https://www.scien.cx/2022/01/04/docker-communication-between-laravel-containers/

MLA
" » Docker. Communication between Laravel containers." Berk CAN | Sciencx - Tuesday January 4, 2022, https://www.scien.cx/2022/01/04/docker-communication-between-laravel-containers/
HARVARD
Berk CAN | Sciencx Tuesday January 4, 2022 » Docker. Communication between Laravel containers., viewed ,<https://www.scien.cx/2022/01/04/docker-communication-between-laravel-containers/>
VANCOUVER
Berk CAN | Sciencx - » Docker. Communication between Laravel containers. [Internet]. [Accessed ]. Available from: https://www.scien.cx/2022/01/04/docker-communication-between-laravel-containers/
CHICAGO
" » Docker. Communication between Laravel containers." Berk CAN | Sciencx - Accessed . https://www.scien.cx/2022/01/04/docker-communication-between-laravel-containers/
IEEE
" » Docker. Communication between Laravel containers." Berk CAN | Sciencx [Online]. Available: https://www.scien.cx/2022/01/04/docker-communication-between-laravel-containers/. [Accessed: ]
rf:citation
» Docker. Communication between Laravel containers | Berk CAN | Sciencx | https://www.scien.cx/2022/01/04/docker-communication-between-laravel-containers/ |

Please log in to upload a file.




There are no updates yet.
Click the Upload button above to add an update.

You must be logged in to translate posts. Please log in or register.