【问题标题】:Netbeans Cannot list file for Reason: 227 Entering Passive ModeNetbeans 无法列出文件原因:227 进入被动模式
【发布时间】:2019-08-05 16:36:12
【问题描述】:

在此之前我使用的是带有 netbeans 8.2 的远程服务器,但是当我尝试进行同步时它突然停止并给我这个错误。

无法列出文件原因:227 进入被动模式。

在管理远程连接中,每件事看起来都不错,通过测试连接它给了我这个

“连接成功。”

远程日志的输出如下。

220---------- Welcome to Pure-FTPd [privsep] [TLS] ----------
220-You are user number 1 of 50 allowed.
220-Local time is now 19:49. Server port: 21.
220-This is a private system - No anonymous login
220-IPv6 connections are also welcome on this server.
220 You will be disconnected after 15 minutes of inactivity.
USER ********
331 User ******** OK. Password required
PASS ******
230 OK. Current restricted directory is /
TYPE I
200 TYPE is now 8-bit binary
CWD /public_html
250 OK. Current directory is /public_html
PWD
257 "/public_html" is your current location
CWD /public_html
250 OK. Current directory is /public_html
SYST
215 UNIX Type: L8
PASV
227 Entering Passive Mode (***,***,***,***,193,110)
QUIT
221-Goodbye. You uploaded 0 and downloaded 0 kbytes.
221 Logout.

知道发生了什么或如何解决它吗?

【问题讨论】:

  • 54.36.225.212 是您的 FTP 服务器的正确 IP 地址吗?
  • 我猜这是防火墙问题,因为服务器拒绝了客户端尝试连接的被动端口。或者,也许您应该使用主动连接模式。您使用的是 TLS 加密 (FTPS) 还是纯 FTP? FTPS 有时会出现问题,因为防火墙无法确定被动 FTP 中使用的端口(无法读取请求)

标签: netbeans ftp netbeans-8.2 passive-mode


【解决方案1】:

在我的情况下,我通过在远程连接配置中取消选择“被动模式”来解决

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 2013-09-25
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2013-03-09
    • 1970-01-01
    • 2019-02-04
    相关资源
    最近更新 更多