• We value your experience with Plesk during 2026
    Please help us understand which Plesk features made your work easier this year, what is still missing and how AI should help you in Plesk ?
    Take this short 5-minutes survey. Your answers go straight into the Plesk roadmap for 2027.

Question Plesk Firewall do not block connections to Docker container

shopuser

Regular Pleskian
Server operating system version
Ubuntu 20.04.5 LTS
Plesk version and microupdate number
18.0.50
I try to isolate the docker container like this:

my docker port is 3310 intern 3311 extern, Hostname in the database is 0.0.0.0


iptables -I DOCKER-USER -d 172.17.0.2 -p tcp --dport 3310 -j DROP

but after this the docker with Mysql - no connection could be made, not even via phpmyadmin
I first have to uninstall and reinstall the firewall in plesk
what I have done wrong ? I want Docker to only allow local connections
 
Back
Top