Docker “Drive sharing seems blocked by a firewall” – kaspersky

Liquid Web Storm VPS

Recently I installed Docker on my Windows 10 computer to test it out as a local tool for WordPress development. I followed the instructions and used a handy script by 10up to quickly set up an optimal WordPress environment.

Everything was going so well until I encountered an error in the installation. Namely, my firewall was blocking access to my Drives. Annoying!

To the Google!

Hours of searches came up with inadequate solutions because each firewall has its own unique User Interface and some of the solutions were only tempory and needed to be re-applied after a reboot. I knew that a port was being blocked, I just wasn’t sure exactly where to change it.

Eventually, I found it, so to save you time, here it is.

Open up Kaspersky and select Settings (bottom left) and then select Protection from the side menu and select Firewall.

Open Configure packet rules.

Select Local Services (TCP) and Edit.

Finally, remove the port number from your Local ports (in my case 445) and save.

You should now be able to share your drive without disabling Kaspersky firewall or applying any other temporary “fixes“.



Matthew Horne

Matthew is a web developer from the United Kingdom who taught himself PHP and JavaScript and never looked back. If you would like to hire me, shoot me an email.

  • Rob 1st October 2018, 6:01 pm Link Reply


    you helped me a lot 🙂

  • Mr. K. 17th October 2018, 12:37 pm Link Reply

    Thanks a lot!

  • eric 25th November 2018, 2:17 pm Link Reply

    Worked for me too, Thanks

Leave a Comment