WinForm中发布程序的问题 [英] problem with publish program in WinForm

查看:102
本文介绍了WinForm中发布程序的问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在WinForm中发布程序时遇到问题,

警告:无法从http://mehdi-pc:81/下载文件.无法连接到远程服务器
发布成功.
警告:无法在http://mehdi-pc:81/上查看已发布的应用程序.
http://mehdi-pc:81/


解决方案

在这种情况下可能有两件事.

1)如果您使用的是远程PC,则由于某种原因您的PC无法连接到该PC.检查您的网络连接.

2)如果它是本地主机,则说明您使用的是安全防火墙.尝试将其关闭或打开端口81,也可以尝试将端口更改为端口80,因为默认端口www是80.

通常,错误消息中的线索是:无法连接到远程服务器"

你检查了吗?


I problem with publish program in WinForm ,

Warning: Files could not be downloaded from http://mehdi-pc:81/. Unable to connect to the remote server
Publish success.
Warning: Unable to view published application at http://mehdi-pc:81/.
http://mehdi-pc:81/


what is problem?

解决方案

there can be two thing in this case.

1) if you are using a remote PC then your PC is unable to connect to that PC for some reason. Check you network connection.

2)if its a local host then you are using a strong firewall.Trying switching it off or Open the port 81 as in you can also give a try by changing the port to port 80 as 80 is the default port www.


Normally, the clue is in the error message: "Unable to connect to the remote server"

Did you check?


这篇关于WinForm中发布程序的问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆