Report this

What is the reason for this report?

Unable to connect to docker container deployed on DigitalOcean droplet via browser

Posted on May 13, 2021

I am scratching my head over the issue I am currently running into. I am trying to deploy this open-source software https://github.com/CitizenLabDotCo/citizenlab via docker using a digitalocean droplet. I have very little experience regarding docker and VSP but have learned a lot since taking on this project. I am using their deployment guide https://developers.citizenlab.co/start-deployment/ and I am using the droplet public ipv4 address as the host address because I haven’t purchased a domain until I am able to get it to work. Well, I am not running into any errors but after I get to step 8 and run $ docker-compose up -d, I am unable to access the web platform via the digitalocean droplets public ipv4 address and the port the frontend is utilizing (:3000, I have been able to get it to work on my local machine and accessing it via my browser)

Can anyone with more experience take a stab at following their guide and maybe explain what I am doing wrong and/or missing? I’ve googled for days looking for an answer but to no avail, any help would be appreciated



This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

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.

Hi there @junk860,

Do you have a firewall enabled on your Droplet like ufw or csf? In case that you are running your application on port 3000, you need to make sure that the port is allowed via your firewall.

Also if you check the status of your Docker containers, can you verify that they are up and running and that the frontend service is listening on port 3000?

You can do that with the following command:

docker ps -a

Regards, Bobby

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Get started for free

Sign up and get $200 in credit for your first 60 days with DigitalOcean.*

*This promotional offer applies to new accounts only.