Question

Question about Port Forwarding on Linux Droplets

  • Posted February 4, 2022

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 ‘127.0.1.1’ instead of the IPV4 that is given by the droplet, should I be using that instead?

Subscribe
Share

Submit an 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.

Hello,

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

Let me know how this goes!

Best,

Bobby