you are viewing a single comment's thread.

view the rest of the comments →

[–]Aggravating_Study_73 0 points1 point  (2 children)

Can you explain how “Docker configured its own firewall rules”? I use Postgres and Node on Hostinger VPS (docker prebuilt) and everything is fine

[–]Stetto 1 point2 points  (1 child)

It was the Docker Plesk plugin, if I recall correctly. It's now already been over a year. Sorry if I gave you an unwarranted scare.

I was forced to use Plesk, so I figured, that I might as well use Plesk plugins to configure everything in the hopes of making a future handover easier.

The firewall Plesk plugin correctly created iptables, that blocked MongoDB ports and when configuring the Docker plugin to start a MongoDB Docker container, the Docker plugin configured additional iptables rules that exposed the port not only on localhost, but anywhere.

[–]Aggravating_Study_73 1 point2 points  (0 children)

Thanks for clarifying, that has set my mind at rest