By Netspring
Hello everybody,
I have a problem accessing Docker containers for any other port than 80. Previously it worked and I had services accessibles on ports 5000 and 7000 in addition to a nginx server installed directly on the droplet. I recently do a dist-upgrade to Ubuntu 18.04.1 LTS and that may have broken stuff.
What works:
What doesn’t work:
So it seems there is a problem with other ports than 80 and 443 for serving content on the internet. I have no digital ocean firewall configured. I tried to look iptables stuff but I understand very little and don’t manage to find anything suspicious.
I would need your help to solve this case.
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!
Hello,
I believe that this could be due to your firewall. You need to make sure that the ports that you are trying to access are open. If you are using the default Ubuntu firewall, you could do that with:
sudo ufw status
sudo ufw allow 81
Regards, Bobby
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.