如何在Azure虚拟机安装FTP [英] How to Setup FTP on Azure VM
问题描述
我需要一些帮助我的Azure虚拟机实例设置FTP。
I need some help setting up FTP on my Azure VM Instance.
该虚拟机是赢服务器2012 R2。我已经安装了Web服务器角色,创造了在IIS的FTP站点。我已经证实,我可以访问FTP服务器
The VM is Win Server 2012 R2. I have setup the Web Server Role and created an FTP site in IIS. I have confirmed that I can access the FTP server with
ftp command: open localhost
我也配置配置了标准的21端口的VM上在Azure门户网站的FTP终点。
I have also configured an FTP end point for the VM on the Azure Portal configured for the standard port 21.
最后,我已经打开创建防火墙规则,以允许所有流量/输出端口21。
Lastly, I have opened created a firewall rule to allow all traffic in/out of port 21.
现在,当我尝试从我家的机器FTP到它,我可以看到服务器的公共DNS名称解析为正确的IP和端口,但没有连接使用。
Now when I try to FTP to it from my home machine I can see the server public dns name is resolving to the proper IP and port but no connection can be made.
我缺少的配置步骤的地方?
Am I missing a configuration step somewhere?
感谢
推荐答案
有一个从2012年7月<一大演练href=\"http://www.itq.nl/blogs/post/Walkthrough-Hosting-FTP-on-IIS-75-in-Windows-Azure-VM.aspx\">Hosting FTP在IIS 7.5中以罗纳德Wildenberg先生一个Windows Azure的VM 的这件事。他呼应大卫的回答。这是他经历的阶段:
There's a great walkthrough from July 2012 'Hosting FTP on IIS 7.5 in a Windows Azure VM' by Ronald Wildenberg about this. He echoes David's answer. These are the stages he goes through:
- 首先,你需要一个虚拟机。我需要一个Windows机器与SQL Server数据库,所以我选择的Microsoft SQL Server 2012评估版从现有的模板。
- 一旦机器启动之后,您可以通过在管理门户底部的连接选项RDP进去。
- 当你在,你需要配置IIS。所需的步骤总结:
- 添加了Web服务器(IIS)的角色到服务器。
- 添加IIS的功能,你需要的。
- 在管理门户添加TCP端点到你的虚拟机与公共和私营的端口80。
-
净停止FTPSVC
-
网络启动FTPSVC
net stop ftpsvc
net start ftpsvc
这是值得以下步骤在原来的文章并非最不重要的,因为他包括了每一步有益的截图,但我认为这是值得广泛引述这里刚刚在的情况下。文章还提到主动FTP与被动FTP,一个明确的解释作为值得一读。
It's worth following these steps in the original article not least because he includes useful screenshots for each step, but I thought it was worth quoting extensively here just-in-case. The article also mentions Active FTP vs. Passive FTP, a Definitive Explanation as worth reading.
这将是巨大的,如果我可以报告说,执行这些步骤后您的Azure虚拟机基于FTP服务器将工作和访问。但不幸的是上述步骤没有解决它,我: - (
It would be great if I could report that after following these steps your Azure VM based FTP server will be working and accessible. But unfortunately the steps above did not fix it for me :-(
这篇关于如何在Azure虚拟机安装FTP的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!