TCP客户端问题/问题 [英] TCP Client question/problem

查看:79
本文介绍了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.net>在消息中写道

新闻:uY ************** @ TK2MSFTNGP10.phx.gbl ...
Post the code please......

"Brian Henry" <NO************@adelphia.net> 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.net>写道:
On 2003-11-09, Brian Henry <NO************@adelphia.net> 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.net>在消息中写道

新闻: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.net> 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客户端问题/问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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