问题描述
你好专家
我正在使用webclient.DownloadFileAsync方法,它在我的本地主机上运行完美,但当我在服务器上部署它时我无法下载来自远程计算机的文件
让我详细解释一下
我有一台远程机器托管在互联网上,从那台机器我想下载一些文件,因为我用过'webclient.DownloadFileAsync',它完全适用于本地主机,但是当我在服务器上部署它时,我无法下载文件,如果我禁用我的防火墙,那么它可以正常工作。
现在我的问题是我们需要打开以使用webclient从远程机器下载文件的确切端口.DownloadFileAsync方法
谢谢
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
推荐答案
这篇关于我应该为Webclient.Downloadfileasync方法保持打开哪个防火墙端口的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!