Cannot Connect to FTP on NetBeans 8

I am trying to connect to FTP on my server using NetBeans 8.

My problem is that I get this error:

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 

I searched for this error and found this fix:

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/

None of them seem to work for me. I have windows 7 home premium 64bit with java 7

  • The firewall is turned off.
  • I run the command in CMD as admin and got OK
  • I run netbeans as admin

When I try to connect with FTP to my server, WinSCP is working fine.

enter image description here

+6
source share
5 answers

I believe your assumption is incorrect based on the impossibility of connecting to FTP. This message is unlikely to be associated with authentication or authorization or by the client, since it indicates that the remote host is not listening on a specific port (since FTP is not considered a secure protocol, many blocks block it). Configure NetBeans to use sftp. Because although WinSCP supports simple (unencrypted) ftp, it is usually used to provide encrypted file transfers using the SSH file transfer protocol protocol . In a related Wikipedia article,

In computing, the SSH File Transfer Protocol (also the Secure File Transfer Protocol or SFTP) is a network protocol that provides access to files, file transfers, and file management functions over any reliable data stream.

+1
source

I just changed Configure Proxy to No Proxy, and it worked for me.

0
source

The same problem, deciding to abandon the choice of Passive mode in:

Project properties / Run configuration / click the Manage... button to open the Remote connection panel, and uncheck the Passive mode box (checked by default).

0
source

Updating java to version 8 helped me today with this problem.

0
source
  • If nothing works, it will work

Check the proxy settings of your operating system, block the incoming connection.

Thanks,

0
source

Source: https://habr.com/ru/post/972871/


All Articles