FAQConfiguringWinFirewallForPassiveFTP

(Difference between revisions)
(Created page with '=FTP does not work with Java 7 on Windows 7 or Vista, how can I fix this?= __TOC__ ==Description:== ==Workaround:== You can use either of the following options: * Turn off th…')
m
Line 1: Line 1:
-
=FTP does not work with Java 7 on Windows 7 or Vista, how can I fix this?=
+
==FTP does not work with Java 7 on Windows 7 or Vista, how can I fix this?==
__TOC__
__TOC__
==Description:==
==Description:==
Line 11: Line 11:
* Configure Windows Firewall for a Passive Mode FTP Server as follows:
* Configure Windows Firewall for a Passive Mode FTP Server as follows:
-
  # Open an Administrator command-prompt. Click Start, click All Programs, click Accessories, right-click Command Prompt, and then click Run as Administrator.
+
 
 +
# Open an Administrator command-prompt. Click Start, click All Programs, click Accessories, right-click Command Prompt, and then click Run as Administrator.
 +
 
   # Run the following command:
   # Run the following command:
       ''netsh advfirewall firewall add rule name=”FTP Service” action=allow service=ftpsvc protocol=TCP dir=in''
       ''netsh advfirewall firewall add rule name=”FTP Service” action=allow service=ftpsvc protocol=TCP dir=in''
 +
   # Finally, disable stateful FTP filtering so that the firewall does not block any FTP traffic.
   # Finally, disable stateful FTP filtering so that the firewall does not block any FTP traffic.
       ''netsh advfirewall set global StatefulFTP disable''
       ''netsh advfirewall set global StatefulFTP disable''

Revision as of 09:18, 24 October 2011

FTP does not work with Java 7 on Windows 7 or Vista, how can I fix this?

Contents

Description:

Workaround:

You can use either of the following options:

  • Turn off the Windows firewall.
  • Configure Windows Firewall for a Passive Mode FTP Server as follows:
# Open an Administrator command-prompt. Click Start, click All Programs, click Accessories, right-click Command Prompt, and then click Run as Administrator.
  # Run the following command:
     netsh advfirewall firewall add rule name=”FTP Service” action=allow service=ftpsvc protocol=TCP dir=in
  # Finally, disable stateful FTP filtering so that the firewall does not block any FTP traffic.
     netsh advfirewall set global StatefulFTP disable

Related links

Not logged in. Log in, Register

By use of this website, you agree to the NetBeans Policies and Terms of Use. © 2012, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo