TCP客户端问题/问题

编程入门 行业动态 更新时间:2024-10-23 02:05:47
本文介绍了TCP客户端问题/问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述

我写了一个简单的客户端/服务器应用程序(没有什么专业,只是发送文本)它 在同一系统上本地工作正常,但是一旦我将客户端移动到 远程系统它出错并给我无法建立连接,因为目标机器主动拒绝它,而b / b 这到底是什么意思呢? targed机器主动拒绝了吗?我在ISA服务器上正确设置端口转发 将其转发到服务器加工......

I wrote a simple client / server app (nothing major, just sends text) it works fine locally on the same system, but once i move the client to a remote system it errors and gives me "No connection could be made because the target machine actively refused it" what exactly does that mean? the targed machine actively refused it? i have port forwarding set up correctly on ISA server to forward it to the server maching...

推荐答案

发布请代码...... " Brian Henry" < NO ************ @ adelphia>在消息中写道 新闻:uY ************** @ TK2MSFTNGP10.phx.gbl ... Post the code please...... "Brian Henry" <NO************@adelphia> wrote in message news:uY**************@TK2MSFTNGP10.phx.gbl... 我写了一个简单的客户端/ server app(没什么大不了,只是发送文本)它在同一个系统上本地工作正常,但是一旦我将客户端移动到远程系统它就会出错并给我无法建立连接因为目标机器主动拒绝了它这到底是什么意思呢? 目标机器主动拒绝了吗?我在ISA服务器上正确设置了的端口转发功能,将其转发到服务器上... I wrote a simple client / server app (nothing major, just sends text) it works fine locally on the same system, but once i move the client to a remote system it errors and gives me "No connection could be made because the target machine actively refused it" what exactly does that mean? the targed machine actively refused it? i have port forwarding set up correctly on ISA server to forward it to the server maching...

2003- 11-09,Brian Henry< NO ************ @ adelphia>写道: On 2003-11-09, Brian Henry <NO************@adelphia> wrote: 我写了一个简单的客户端/服务器应用程序(没有什么专业,只是发送文本)它在同一系统本地工作正常,但一旦我将客户端移动到远程系统错误并给我无法建立连接,因为目标机器主动拒绝它这到底是什么意思呢? 目标机器主动拒绝了吗?我在ISA服务器上正确设置了端口转发功能,将其转发到服务器上... I wrote a simple client / server app (nothing major, just sends text) it works fine locally on the same system, but once i move the client to a remote system it errors and gives me "No connection could be made because the target machine actively refused it" what exactly does that mean? the targed machine actively refused it? i have port forwarding set up correctly on ISA server to forward it to the server maching...

这意味着你正在尝试连接到错误的地址/端口... 您可能想要发布一些代码。我会建议您在客户端使用的代码连接到服务器,并且可能是您用来开始收听的服务器中的代码片段。 - Tom Shelton MVP [Visual Basic]

It means that you are attempting to connect to the wrong address/port... You may want to post a bit of code. I would suggest the code that you use in the client to connect to the server, and probably the snippet in the server you use to start listening. -- Tom Shelton MVP [Visual Basic]

检查客户端的地址尝试连接..它应该是服务器机器的网络 地址,而不是127.0.0.1或者第一次用什么时候 当用在同一台机器上时服务器 - Ceers, Crirus ---- -------------------------- 如果工作是好事,那么老板就会把这一切都从你那里拿走 ------------------------------ Brian Henry < NO ************ @ adelphia>在消息中写道 新闻:uY ************** @ TK2MSFTNGP10.phx.gbl ... Check the address where the client try to connect.. it should be the network address of the server machine, not 127.0.0.1 or what ever was first time when used on hte same machine as the server -- Ceers, Crirus ------------------------------ If work were a good thing, the boss would take it all from you ------------------------------ "Brian Henry" <NO************@adelphia> wrote in message news:uY**************@TK2MSFTNGP10.phx.gbl... 我写了一个简单的客户端/ server app(没什么大不了,只是发送文本)它在同一个系统上本地工作正常,但是一旦我将客户端移动到远程系统它就会出错并给我无法建立连接因为目标机器主动拒绝了它这到底是什么意思呢? 目标机器主动拒绝了吗?我在ISA服务器上正确设置了的端口转发功能,将其转发到服务器上... I wrote a simple client / server app (nothing major, just sends text) it works fine locally on the same system, but once i move the client to a remote system it errors and gives me "No connection could be made because the target machine actively refused it" what exactly does that mean? the targed machine actively refused it? i have port forwarding set up correctly on ISA server to forward it to the server maching...

更多推荐

TCP客户端问题/问题

本文发布于:2023-11-25 09:06:58,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1629159.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:客户端   TCP

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!