无法建立连接,因为目标机器主动拒绝 127.0.0.1:25
No connection could be made because the target machine actively refused it 127.0.0.1:25
我在 运行 使用 Web 应用程序的 Web 服务时遇到此错误。
No connection could be made because the target machine actively refused it 127.0.0.1:8083
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
Exception Details: System.Net.Sockets.SocketException: No connection could be made because the target machine actively refused it 127.0.0.1:8083
Source Error:
Line 108: [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://tempuri.org/VerifyFingerPrint", RequestNamespace="http://tempuri.org/", ResponseNamespace="http://tempuri.org/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
Line 109: public string VerifyFingerPrint([System.Xml.Serialization.XmlElementAttribute(DataType="base64Binary")] byte[] VeriBmp, string empcode) {
Line 110: object[] results = this.Invoke("VerifyFingerPrint", new object[] {
Line 111: VeriBmp,
Line 112: empcode});
Source File: D:\Mayuri1working\BOBFingerPrint\BOBFingerPrint\Web References\localhost\Reference.cs Line: 110
请帮忙!
首先更新您的应用程序中使用的 Web 服务引用。
如果未更新 Web 服务引用,则检查 Web 服务项目解决方案中包含源代码文件的所有文件和文件夹并重建它,然后更新项目中使用的 Web 引用。
否则,如果它工作正常,那么您需要按照上述解决方案中的建议检查您的开发服务器使用的网络服务和 windows 防火墙设置。
我也遇到了同样的问题,我开始知道我引用了错误的同名文件夹,但在另一个解决方案中使用了。
享受编码。
我在 运行 使用 Web 应用程序的 Web 服务时遇到此错误。
No connection could be made because the target machine actively refused it 127.0.0.1:8083
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
Exception Details: System.Net.Sockets.SocketException: No connection could be made because the target machine actively refused it 127.0.0.1:8083
Source Error:
Line 108: [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://tempuri.org/VerifyFingerPrint", RequestNamespace="http://tempuri.org/", ResponseNamespace="http://tempuri.org/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
Line 109: public string VerifyFingerPrint([System.Xml.Serialization.XmlElementAttribute(DataType="base64Binary")] byte[] VeriBmp, string empcode) {
Line 110: object[] results = this.Invoke("VerifyFingerPrint", new object[] {
Line 111: VeriBmp,
Line 112: empcode});
Source File: D:\Mayuri1working\BOBFingerPrint\BOBFingerPrint\Web References\localhost\Reference.cs Line: 110
请帮忙!
首先更新您的应用程序中使用的 Web 服务引用。 如果未更新 Web 服务引用,则检查 Web 服务项目解决方案中包含源代码文件的所有文件和文件夹并重建它,然后更新项目中使用的 Web 引用。 否则,如果它工作正常,那么您需要按照上述解决方案中的建议检查您的开发服务器使用的网络服务和 windows 防火墙设置。
我也遇到了同样的问题,我开始知道我引用了错误的同名文件夹,但在另一个解决方案中使用了。
享受编码。