Admin-Ahead Community

Windows => General Windows => Topic started by: Chetan Singh on March 10, 2014, 10:38:04 am

Title: Open FTP ports via Firewall!
Post by: Chetan Singh on March 10, 2014, 10:38:04 am
HI,

You can open FTP's default port and passive ports via Windows command prompt by executing these commands.

===================>>>
netsh advfirewall firewall add rule name="FTP (non-SSL)" action=allow protocol=TCP dir=in localport=21
netsh advfirewall firewall add rule name="FTP (non-SSL)" action=allow protocol=TCP dir=in localport=2222
netsh advfirewall firewall add rule name="FTP (non-SSL)" action=allow protocol=TCP dir=in localport=55815-58925
===================>>>

Thank you,