• Our team is looking to connect with folks who use email services provided by Plesk, or a premium service. If you'd like to be part of the discovery process and share your experiences, we invite you to complete this short screening survey. If your responses match the persona we are looking for, you'll receive a link to schedule a call at your convenience. We look forward to hearing from you!
  • The BIND DNS server has already been deprecated and removed from Plesk for Windows.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS. We strongly recommend transitioning to Microsoft DNS within the next 6 weeks, before the Plesk 18.0.70 release.
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.

Question Allow docker services to access host services

Stefan S.

New Pleskian
Hi,

today I noticed, that my firewall allowed all incoming ports. So I went to the firewall and changed the option "System policy for incoming traffic" to "Deny".
Now all ports are blocked which have not been whitelisted.

My problem is now, that my docker services (like Gitlab) can't connect to my host anymore.
My docker0 interface has the IP 172.17.0.1.
I went to the MySQL service and switched to "Allow from selected sources, deny from others" and added following IPs:

* 127.0.0.1
* 172.17.0.0/24

Unfortunately my apps get a timeout when trying to connect to MySQL.

My docker images use following settings:

* DB_HOST => 172.17.0.1
* DB_PORT => 3306

I tried rebooting my server and also restarting the docker service after changing the firewall settings.

How can I fix this problem? :-/

Best Regards,
Stefan
 
Back
Top