没有端点侦听 (url) 可以接受消息 [英] There was no endpoint listening at (url) that could accept the message

查看:18
本文介绍了没有端点侦听 (url) 可以接受消息的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在构建一个 ASP.NET 网站 - 这是一个包含几个项目、一个数据库和一个 Web 服务的解决方案.一切正常,但上次我尝试运行该项目时,出现以下错误:

I'm building an ASP.NET website - it's a solution with a few projects, a data base and a web service. Everything worked fine, but last time I tried to run the project, I got the following error:

There was no endpoint listening at http://localhost:[number]/BooksWS.svc that could accept the
message. This is often caused by an incorrect address or SOAP action. See InnerException, 
if present, for more details.

内部异常说:

Unable to connect to the remote server

这个错误是突然出现的,所以我不确定我应该提供哪些额外的信息.有谁知道为什么会发生这种情况?

This error sort of came out of the blue, so I'm not sure what additional information I should provide. Does anyone have any idea why this could happen?

我想即使是一般性的答案也会有所帮助,这是我在与 WCF 相关的网络中找到的有关此错误的唯一信息.

I suppose even a general answer could help, the only info I found about this error in the web concerned WCF.

推荐答案

到你站点的webconfig页面,找到tag端点,查看地址属性中的端口,可能端口号有变化

go to webconfig page of your site, look for the tag endpoint, and check the port in the address attribute, maybe there was a change in the port number

这篇关于没有端点侦听 (url) 可以接受消息的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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