首页 > 系统 > CentOS > 正文

CentOS 调用.Net 的Web Service,提示连接超时解决方案

2024-06-28 13:22:02
字体:
来源:转载
供稿:网友
CentOS 调用.Net 的Web Service,提示连接超时解决方案

我是使用axis调用.NET 的Web Service ,在Window下跑没有问题,将项目部署到linux下,发现Web Service 连接超时,百度了下,发现是因为Linux不能直接跑.Net,需要配置下环境。

我是小白!ORZ...

解决方法:

在终端登录root,先后执行:

1.rpm --import "http://keyserver.Ubuntu.com/pks/lookup?op=get&search=0x3FA7E0328081BFF6A14DA29AA6A19B38D3D831EF"

2.yum-config-manager --add-repo http://download.mono-PRoject.com/repo/centos/

执行之后,发现CentOS可以调用.Net 的 Web Service

官方地址:http://www.mono-project.com/docs/getting-started/install/linux/#centos-fedora-and-derivatives

里面描述了不同版本应该执行什么解决方案。


发表评论 共有条评论
用户名: 密码:
验证码: 匿名发表