无法连接到Azure文件共享 [英] Cannot connect to Azure File Share

查看:64
本文介绍了无法连接到Azure文件共享的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

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

Created Azure file share in portal and copied the PowerShell script to connect it as drive Q: (verified not in use). Response:

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

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

where "xxxx" is the share name. The PS command was copied directly from the portal and not altered.

推荐答案

如上面的注释所述,Comcast会阻止端口445.解决方案是让云中的另一个对象引用Azure文件,然后通过HTTP.

As noted in comments above, Comcast blocks port 445. Solution was to have another object in the cloud reference the Azure File and then return the data to the client over HTTP.

这篇关于无法连接到Azure文件共享的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆