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

Unable to connect to remote host: Connection refused #594

Open
xintena opened this issue Apr 29, 2024 · 1 comment
Open

Unable to connect to remote host: Connection refused #594

xintena opened this issue Apr 29, 2024 · 1 comment

Comments

@xintena
Copy link

xintena commented Apr 29, 2024

ubuntu 22.04,run the container conpot successfully
image
but Unable to connect to remote host: Connection refused
image
How to solve this problem?

@Vingaard
Copy link
Contributor

Docker doesn’t automatically expose ports outside of containers. To access a container over your host’s network, you must expose and publish the target container port yourself. This allows you to then direct traffic to the container from your host’s networking interfaces.
Google "[How To Expose Docker Ports" for further information

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