• Dear Pleskians! The Plesk Forum will be undergoing scheduled maintenance on Monday, 7th of July, at 9:00 AM UTC. The expected maintenance window is 2 hours.
    Thank you in advance for your patience and understanding on the matter.

Question Plesk Firewall do not block connections to Docker container

shopuser

Basic 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