By WilliamRails
Hi There
I am a really novice using dokku and follow this tutorial : https://auth0.com/blog/hosting-applications-using-digitalocean-and-dokku/
But even the basic steps did not work to reach my simple HELLO WORLD application
I have this status :
dokku proxy:ports dokkuexp -----> Port mappings for dokkuexp -----> scheme host port container port http 58270 5000
But trying to reach my app in both ways give me a The site can’t be reached :
http://MYdropletip:5000 or http://goodfy-dokku-at-docean:5000 and even
http://goodfy-dokku-at-docean:58270
I have checked instructions regarding uff … but even with status root@goodfy-dokku-at-docean:~# sudo ufw status Status: active
To Action From
22/tcp ALLOW Anywhere 80/tcp ALLOW Anywhere 443/tcp ALLOW Anywhere 2375/tcp ALLOW Anywhere 2376/tcp ALLOW Anywhere 5000/tcp ALLOW Anywhere 22/tcp (v6) ALLOW Anywhere (v6) 80/tcp (v6) ALLOW Anywhere (v6) 443/tcp (v6) ALLOW Anywhere (v6) 2375/tcp (v6) ALLOW Anywhere (v6) 2376/tcp (v6) ALLOW Anywhere (v6) 5000/tcp (v6) ALLOW Anywhere (v6)
Things do not work … What do I missing ? Thanks in advance
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!
Heya,
Just came across this answer and decided to write some general guidelines for anyone who comes across this in the future despite the old question.
It seems like your application is not reachable despite Dokku running and port mappings set correctly. There may be a number of reasons causing this issue. Ensuring that your application is running correctly would be the first step. You may use the command dokku ps:report to check the state of your applications.
If your application is running correctly then the issue could possibly reside with the networking or firewall settings of your DigitalOcean Droplet. Ensure that the firewall on your Droplet allows incoming connections to the ports that your application is running on. You’ve already mentioned ufw firewall but you should also check DigitalOcean’s Cloud Firewalls if you have them enabled.
Since Dokku uses Nginx for its network interface, another possibility could be an issue with the Nginx configuration. You may wish to check the Nginx error logs for any problems.
Kindly refer to these DigitalOcean docs for more detailed help:
Hope that this helps!
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.