Tools
FTP Client and FTP Server display a different PASV response when using Windows Firewall
There are cases where the Windows Firewall changes the outbound passive (PASV) mode response from Serv-U to an FTP client. The Serv-U log shows the proper PASV port specified under Server > Settings > Advanced. The client's log, however, indicates a different port.
First published date
Last published date
Overview
There are cases where the Windows Firewall changes the outbound passive (PASV) mode response from Serv-U to an FTP client. The Serv-U log shows the proper PASV port specified under Server > Settings > Advanced. The client's log, however, indicates a different port.
Use the following formula to calculate the PASV port:
Note: The port is specified in the last two numbers in a PASV response.
((The second to the last set of numbers x 256) + port number)
For example:
227 Entering Passive Mode (127,0,0,1,195,80).
((195 x 256) + 80) =50,000
Product section
Cause
Resolution
- Open the Windows Firewall configuration page through Control Panel > Windows Firewall.
- Click Advanced.
- Click Network Connection Settings > Settings.
- Highlight the appropriate network interface. If more than one shows in the list, select the network interface first.
- Clear the FTP Server option from the Services list.
The Windows Firewall should no longer modify Serv-U's PASV response.