无法连接到Azure文件共享

Bar*_*ggs 8 azure azure-files

在门户中创建Azure文件共享并复制PowerShell脚本以将其连接为驱动器Q :(已验证未使用).响应:

New-PSDrive : The network resource type is not correct
At line:3 char:1
+ New-PSDrive -Name Q -PSProvider FileSystem -Root "\\xxxx.file.c ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo          : InvalidOperation: (Q:PSDriveInfo) [New-PSDrive],  Win32Exception
+ FullyQualifiedErrorId :      CouldNotMapNetworkDrive,Microsoft.PowerShell.Commands.NewPSDriveCommand
Run Code Online (Sandbox Code Playgroud)

其中"xxxx"是共享名称.PS命令直接从门户复制而不是更改.

Bar*_*ggs 2

正如上面的评论所述,Comcast 会阻止端口 445。解决方案是让云中的另一个对象引用 Azure 文件,然后通过 HTTP 将数据返回到客户端。