我尝试使用 NetBeans 8 通过 FTP 连接到我的服务器。
我的问题是出现此错误:
Because NetBeans is running on Windows and JDK 7, you might be facing a problem with FTP operations. Ensure that Windows built-in firewall does not block JDK 7 binaries
我用谷歌搜索了这个错误并找到了这个修复:
https://netbeans.org/bugzilla/show_bug.cgi?id=201449
http://support.microsoft.com/kb/2754804
http://www.nemesis.co.nz/2013/02/netbeans-jre7-and-windows-firewall/
他们似乎都不适合我。 我有带有 Java 7 的 Windows 7 家庭高级版 64 位
- 防火墙已关闭。
- 我以管理员身份在 CMD 中运行命令并成功
- 我以管理员身份运行 netbeans
当我尝试使用 WinSCP 将 FTP 连接到我的服务器时,它工作正常。
最佳答案
基于无法连接 FTP,我认为您的假设是不正确的。该消息不太可能与身份验证或授权或客户端相关,因为它往往表明远程主机未在特定端口上监听(因为 FTP 不被视为安全协议(protocol),许多主机现在阻止它)。配置 NetBeans 以使用 sftp。因为,虽然我 WinSCP 支持普通(未加密)ftp,但它通常用于提供加密文件传输 SSH file transfer protocol protocol .根据链接的维基百科文章,
In computing, the SSH File Transfer Protocol (also Secure File Transfer Protocol, or SFTP) is a network protocol that provides file access, file transfer, and file management functionalities over any reliable data stream.
关于java - 无法在 NetBeans 8 上连接 FTP,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/24965946/