服务器客户端应用程序 [英] server client application

查看:130
本文介绍了服务器客户端应用程序的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

当客户端和服务器位于不同系统上时,无法向服务器发送信息.但是,当客户端和服务器位于一个系统上时,一切都可以正常运行.我每次都收到此异常,并且我已经关闭了Windows防火墙

EndPointNotFoundException
无法连接到net.tcp://127.0.0.1:8080/DatabaseService.连接尝试持续时间为00:00:01.1062670. TCP错误代码10061:无法建立连接,因为目标计算机主动拒绝它127.0.0.1:8080.

Am having trouble sending information to a server when the client and server are on different system. but when the Client and Server are on one system everything works perfectly ok.i Get this Exception every time and i have turn off windows firewall

EndPointNotFoundException
Could not connect to net.tcp://127.0.0.1:8080/DatabaseService. The connection attempt lasted for a time span of 00:00:01.1062670. TCP error code 10061: No connection could be made because the target machine actively refused it 127.0.0.1:8080.

推荐答案

您的防火墙正在阻止端口8080.在其中打孔"以允许该端口上的入站连接.
Your firewall is blocking port 8080. You have to "punch a hole" in it to allow inbound connections on that port.


这篇关于服务器客户端应用程序的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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