Click here to Skip to main content
15,881,882 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
Hello Experts

I am using webclient.DownloadFileAsync method and it works perfectly on my local host, but when I deploy it on server I can not able to download file from remote computer
Let me explain you in detail
I have a remote machine hosted on internet and from that machine I want to download some files, for that I have used 'webclient.DownloadFileAsync', it works on local host perfectly but when I deploy it on server I can not able to download file and if I disabled my Firewall then it works perfectly.
Now my question is what exact ports we need to open to download file from remote machine using webclient.DownloadFileAsync method

Thanks
Posted

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900