Enabling outbound FTP in Windows Firewall

I have an ASP.NET application that connects to a remote FTP server to get & put files. It works fine on my development server, but the connection gets aborted on my production server. My hosting company says it is not possible to enable FTP traffic to/from a specific IP address in the Windows firewall. Can anyone confirm or refute this? Thanks!
JohnPenriceAsked:
Who is Participating?
 
LauraEHunterMVPConnect With a Mentor Commented:
> "My hosting company says it is not possible to enable FTP traffic to/from a specific IP address in the Windows firewall."

You can enable an exception for inbound traffic on the Windows Firewall for a specific source IP address, a specific source subnet (based on CIDR notation), and a few other options, as shown here: http://www.windowsecurity.com/articles/Customizing-Windows-Firewall.html

This assumes that the source IP address that you will be connecting from will not change; if you are on some kind of DHCP-based Internet connection whose source IP address will change without notice, then this solution will not be appropriate for you. (This may be what your hosting company was referring to.)
0
 
JohnPenriceAuthor Commented:
I think it is actually outbound traffic we're concered about. My application connects to a remote server via FTP. Does the same solution apply? Thanks!
0
 
LauraEHunterMVPCommented:
The Windows Firewall in Windows Server 2003 does not place any restrictions whatsoever on outbound traffic, its only function is to restrict unsolicited inbound traffic.
0
All Courses

From novice to tech pro — start learning today.