Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

NetBeans Remote Connection

Tags:

netbeans

I'm trying to set netBeans remote project and I'm having pretty much trouble with it. I've started a PHP Application from Remote Server and in the last confirmation step it throws error on me.

No files available for download. Try to check Passive mode in the remote configuration.

In the log output it fails there:

> 215 UNIX Type: L8
> PORT 192,168,5,217,196,73
> 500 Illegal PORT command.

Did anyone have same problem with setting up remote connection? Please help.

like image 689
Martin Svoboda Avatar asked May 09 '12 12:05

Martin Svoboda


2 Answers

To establish an FTP connection, choose either of the options below:

  • Turn off the Windows firewall.
  • Configure Windows Firewall for a passive mode FTP server as follows:

    1. Open an Administrator command-prompt.
    2. Click Start > All Programs > Accessories.
    3. Right-click Command Prompt, and then click Run as Administrator.
    4. Run the following command:

      netsh advfirewall firewall add rule name=FTPService action=allow service=ftpsvc protocol=TCP dir=in
      
    5. Disable stateful FTP filtering so that the firewall does not block any FTP traffic:

      netsh advfirewall set global StatefulFTP disable
      
like image 57
imran Avatar answered Sep 26 '22 02:09

imran


This seems to be the top answer whenever anyone is looking for how to set netbeans into passive mode. Despite the advice always being "set the ftp into passive mode" for those using Mac OS and Netbeans you may never seem to find it.

  1. Right click on the project
  2. Select Properties
  3. Select Run Configurations
  4. Select Manage
  5. Select your_ftp_connection on the left column
  6. Scroll down

NetBeans FTP Connection

like image 26
Kennedy Nyaga Avatar answered Sep 25 '22 02:09

Kennedy Nyaga