简体   繁体   English

添加了Azure FTP和WCF终结点,但没有访问权限?

[英]Azure FTP & WCF endpoints added but no access?

I have setup a test VM and I am trying to get FTP via FileZilla working and connect an IIS website to an external WCF service. 我已经安装了测试虚拟机,并且试图通过FileZilla获得FTP,并将IIS网站连接到外部WCF服务。 Neither are working, I have tried disabling the windows firewall to rule that out as well. 两者都不起作用,我也尝试禁用Windows防火墙以排除这种情况。

I have setup endpoints as below. 我有如下设置端点。 Incoming Outgoing 传入 传出

i have just set up the FileZilla server on Azure VM. 我刚刚在Azure VM上设置了FileZilla服务器。

That is what i did: 那就是我所做的:

1) Install FileZilla with default settings 1)使用默认设置安装FileZilla

2) Set up the passive ports range. 2)设置无源端口范围。 In my case it is 60000-60000. 在我的情况下是60000-60000。

3) Created outbound/inbound exceptions in firewall to allow "FileZilla Server.exe" 3)在防火墙中创建出站/入站例外,以允许“ FileZilla Server.exe”

4) Using Powershell (i think that can be a problem, because there are some nuances when you create it on Azure portal): 4)使用Powershell(我认为这可能是个问题,因为在Azure门户上创建它时有些细微差别):

Add-AzureAcccount
Get-AzureVM -Servicename "myvmcs"-Name VM1 | Add-AzureEndpoint -Name FTP-   Dynamic-60000 -Protocol TCP -LocalPort 60000 -PublicPort 60000 | Update-AzureVM

5) In FileZilla server settings, i have added user, shared folder and in Passive mode settings i set "Use the following IP" into the domain name of the VM. 5)在FileZilla服务器设置中,我已经添加了用户,共享文件夹,在被动模式设置中,我将“使用以下IP”设置为VM的域名

Tried to connect it using a few different clients, and it works. 尝试使用一些不同的客户端连接它,并且可以正常工作。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM