服务器客户端应用程序

问题描述:

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