mushorg / conpot

ICS/SCADA honeypot
GNU General Public License v2.0
1.21k stars 409 forks source link

Unable to connect to remote host: Connection refused #594

Open xintena opened 2 months ago

xintena commented 2 months ago

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 commented 2 months ago

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