I recently created a droplet for ubuntu 16.04. Following one of the tutorials I set up ssh login and disabled login with username password. I also set up a firewall.
I am able to login to my droplet using my ssh keys. I then purchased a domain and pointed it to the digitalocean nameservers. I have checked the details and the domain is pointing to the correct location.
I initiated a process to print a string in my droplet. If I open another console within the droplet and fire the command ‘curl localhost:8124’, it returns me the correct output. However if I try accessing the process using the ip address like ‘curl <ip address>:8124’, I get an error message. This command does not work even if I fire it within the digital ocean console.
I have modified my firewall settings to accept TCP connections for port 8124. I am not able to figure out what is the error.
Kindly let me know if my question seems to be ambiguous and needs more clarity.
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.
Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.
Click below to sign up and get $100 of credit to try our products over 60 days!