问题描述
我写了一个简单的客户端/服务器应用程序(没有什么专业,只是发送文本)它
在同一系统上本地工作正常,但是一旦我将客户端移动到
远程系统它出错并给我无法建立连接,因为目标机器主动拒绝它,而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...
推荐答案
这意味着你正在尝试连接到错误的地址/端口...
您可能想要发布一些代码。我会建议您在客户端使用的代码连接到服务器,并且可能是您用来开始收听的服务器中的代码片段。
-
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]
这篇关于TCP客户端问题/问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!