Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Connection Refused Connecting Two Containers #1312

Open
cyimking opened this issue Aug 8, 2019 · 1 comment
Open

Connection Refused Connecting Two Containers #1312

cyimking opened this issue Aug 8, 2019 · 1 comment

Comments

@cyimking
Copy link

cyimking commented Aug 8, 2019

Hello,

I am receiving the following error when trying to cURL two services(docker containers):
cURL error 7: Failed to connect to <site> port 443: Connection refused (see http://curl.haxx.se/libcurl/c/libcurl-errors.html)

Service A and Service B are connecting NGINX via jwilder. Service A and Service B are https on localhost with custom domains (two laravel applications). Service A makes a cURL API call to Service B via event. Service A generates the error above.

Service A cURL call tried the API call via custom domain, localhost and Service B docker IP address.

How do I get Service A to connect to Service B so I can make a successful API call?

@Ryu945
Copy link

Ryu945 commented Aug 9, 2019

Information in this may help you.

https://blog.ssdnodes.com/blog/installing-nextcloud-docker/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants