Accessing a running http//:localhost:3050 server from public

Hi, I installed SWI Prologs Online Version SWISH on a Ubuntu droplet which runs now on http://localhost:3050. I want to make it accessible from outside and configured the Firewall in a way that it allows anywhere: 22/tcp, OpenSSH and Port 3050 for ipv4 and ipv6. But I cant get acccess What else do I need to do to get access via the browser and http://xxx.xx.xx.xx:3050? Any help appreciated!

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.

Hi there @carstenh,

Are your running this insde a Docker container or directly on your host?

I could suggest a couple of things here:

  • First run a netstat to check if your service is binded on localhost only:
netstat -plant | grep 3050 

If the output that you get looks like thins:

tcp        0      0  *               LISTEN      -

Then you need to make sure that you update your config to bind on instead.

  • Another thing that you could do is rather than binding on is to setup an Nginx reverse proxy and forward the traffic from port 80 to port 3050.

You can do that by following the steps here:

Note yo only need to follow the “Set Up Nginx as a Reverse Proxy Server” step.

Hope that this helps! Regards, Bobby