我应该为Webclient.Downloadfileasync方法保持打开哪个防火墙端口

编程入门 行业动态 更新时间:2024-10-28 16:19:50
本文介绍了我应该为Webclient.Downloadfileasync方法保持打开哪个防火墙端口的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述

你好专家 我正在使用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方法保持打开哪个防火墙端口

本文发布于:2023-07-04 08:57:36,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1021928.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:端口   防火墙   方法   Webclient   Downloadfileasync

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!