Question about Port Forwarding on Linux Droplets

Hello, I am having trouble port forwarding on my droplet. I want to be able to run a TCP server from the private IPV4 address on a specific port ‘x’, in such a way that it is able to be connected to by different clients. I have the application ready and all the settings for the droplet good to go except for the port access, as it is not able to be seen by outside applications. Also, my programs are automatically detecting the IP address ‘’ instead of the IPV4 that is given by the droplet, should I be using that instead?

Submit an answer

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!

Sign In or Sign Up to Answer

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.

Want to learn more? Join the DigitalOcean Community!

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.


In case you want your applications to be accessible from the outside world, you would need to change the bind-address from to

Let me know how this goes!