When turning on Firewall, please assure that “File and Printer Sharing” on current network profile is allowed. Also, please turn on the following port: 135, 137, 138, 139, 445. For more information, please refer to the following article:
WinServer-文件共享端口
原文:https://www.cnblogs.com/JinweiChang/p/11194571.html