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!
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.
Hi there @carstenh,
Are your running this insde a Docker container or directly on your host?
I could suggest a couple of things here:
netstat
to check if your service is binded on localhost only:If the output that you get looks like thins:
Then you need to make sure that you update your config to bind on
0.0.0.0:3050
instead.0.0.0.0:3050
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:
https://www.digitalocean.com/community/tutorials/how-to-set-up-a-node-js-application-for-production-on-ubuntu-16-04#set-up-nginx-as-a-reverse-proxy-server
Note yo only need to follow the “Set Up Nginx as a Reverse Proxy Server” step.
Hope that this helps! Regards, Bobby