Question
How do I access exposed ports on my Docker containers from outside the VM?
So, I've installed Shipyard by following the Quickstart guide, and I now have a container running called `shipyard` which exposes a HTTP server on 0.0.0.0:8000. I can access it just fine from within the droplet using curl, but I can't connect to it over the Internet.
I've tried disabling ufw; as well as enabling it, setting DEFAULT_FORWARD_POLICY="ACCEPT" in /etc/default/ufw and allowing port 8000. I've tried using multiple VMs in multiple regions, even.
I'm using a newly-created droplet with the Docker image.
Add a comment
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.
×