Reputation: 479
I have a project which makes a .dll in C# which contains a very simple ftp client (FtpWebRequest, FtpWebResponse), and want to use that .dll in various Web projects including it in Bin directory.
The problem is: Windows Firewall.
A console application using that .dll works fine, because I can make a rule on firewall to let the .exe do the ftp connection.
A web application doesn't work because firewall is blocking it, returning always a WebException Timeout.
Any ideas how to make it work on web applications without disabling windows firewall?
Upvotes: 1
Views: 1832
Reputation: 6524
You can also add a rule for iis worker process as an exception to windows firewall. It is done in exactly the same way as it is done for the console application.
Upvotes: 1