简体   繁体   English

FileZilla Ftp访问IIS托管网站

[英]FileZilla Ftp Access to IIS hosted website

I am working on an ASP.NET MVC 4 web site, and it's localy hosted using IIS 7.5 . 我正在使用ASP.NET MVC 4网站,它使用IIS 7.5本地托管。 The basic idea is to upload files into my website, and be able to see the result using FileZilla. 基本的想法是将文件上传到我的网站,并能够使用FileZilla查看结果。 So, I've installed FTP Service, and then I've activated the Anonymus authentification using IIS manager. 所以,我已经安装了FTP服务,然后我使用IIS管理器激活了Anonymus身份验证

I'm trying to access my website content via FileZilla, but so far I've couldn't. 我正试图通过FileZilla访问我的网站内容,但到目前为止,我还没有。

Knowing that my hosted website could be visualized by the following address ( http://localhost/mywebsite ), I used the following parameters with FileZilla : 知道我的托管网站可以通过以下地址( http://localhost/mywebsite )可视化,我在FileZilla中使用了以下参数:

First try : 第一次尝试 :

  • Host : localhost\\mywebsite 主持人:localhost \\ mywebsite
  • Port : Blank 港口:空白
  • Auth type : Anonymus Auth类型:Anonymus

Result message : No address associated with nodename 结果消息:没有与节点名关联的地址

Second try: 第二次尝试:

  • Host : localhost 主持人:localhost
  • Port : Blank 港口:空白
  • Auth type : Anonymus Auth类型:Anonymus

Result message : Connection refused by the server 结果消息:服务器拒绝连接

Third try : 第三次尝试:

  • Host : localhost\\mywebsite 主持人:localhost \\ mywebsite
  • Port : Blank 港口:空白
  • Auth type : Normal 验证类型:正常
  • Id : username Id:用户名
  • Pass : password 通过:密码

Forth try: 第四次尝试:

  • Host : localhost 主持人:localhost
  • Port : Blank 港口:空白
  • Auth type : Normal 验证类型:正常
  • Id : username Id:用户名
  • Pass : password 通过:密码

Result message : Connection refused by the server 结果消息:服务器拒绝连接

PS : The user name and the password were set using iis manager, by editing the anonymus authentification. PS:通过编辑anonymus authentification,使用iis manager设置用户名和密码。

Thanks in advance :-) 提前致谢 :-)

EDIT -Response links- EDIT -Response链接 -

FTP does not work interchangeably with HTTP, they are separate servers/protocols. FTP不能与HTTP互换,它们是独立的服务器/协议。 I'm assuming you added "anonymous access" to your HTTP server from your description. 我假设您从描述中添加了对您的HTTP服务器的“匿名访问”。 Just installing the FTP service is not enough. 仅仅安装FTP服务是不够的。 Did you set it up? 你设置好了吗?

Also your Host for the FTP server will always be just the IP (or domain.com) address. 此外,您的FTP服务器主机将始终只是IP(或domain.com)地址。 "Connection refused by the server" means the server isn't running or you're trying to connect to an invalid port (default port for FTP is 21). “服务器拒绝连接”表示服务器未运行或您尝试连接到无效端口(FTP的默认端口为21)。

Did you access the FTP server console and set up a server pointing towards the directory you want to serve, credentials, etc.? 您是否访问了FTP服务器控制台并设置了指向要提供的目录,凭据等的服务器? This is not the same thing as the WebSite manager. 这与WebSite管理器不同。

For the moment pretend your HTTP server doesn't exist and just focus on FTP. 目前假装您的HTTP服务器不存在,只关注FTP。

This should look familiar: 这应该看起来很熟悉:

在此输入图像描述

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

相关问题 将网站托管在MVC / IIS的另一台本地计算机上? - Embed a website hosted on another local machine in MVC/IIS? Windows 7 PC无法访问LAN托管的IIS站点 - Windows 7 PCs cannot access LAN hosted IIS site IIS 中的网站部署:IIS 无法访问目录? - Website Deployment in IIS : IIS can't access directories? 网站拒绝访问对MS Azure中托管的数据库的访问 - Access denied from website to database hosted in MS Azure IIS7上托管的MVC2网站显示目录列表而不是Home / Index - MVC2 Website hosted on IIS7 shows directory listing not the Home/Index IIS托管网站未在另一台计算机上运行。 尽我所能,但找不到问题 - IIS Hosted website in not running on another machine. Try my best but not able to find issue 使用IP地址和端口从另一台计算机访问IIS托管网站 - Accessing IIS Hosted website from different machine using IP Address and Port IIS 网站:尝试在浏览器中访问网站时出错(Kestrel 问题) - IIS website : error trying to access site in browser (Kestrel problem) 通过 IIS 部署网站:无法访问网站 - Website Deployment via IIS : Can't access site Visual Studio 2017 - 在 IIS Express 中授予远程用户访问网站的权限 - Visual Studio 2017 - Giving remote users access to website in IIS Express
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM