“无法建立连接,因为目标机器主动拒绝”

发布于 2024-11-06 18:59:57 字数 226 浏览 4 评论 0原文

我有一台名为“testapp”的服务器和名为“clientapp”的客户端计算机。我正在尝试在客户端计算机上安装一个名为“SVM”的窗口服务。如果在“clientapp”中安装“SVM”,并在此服务选项卡中将“testapp”配置为服务器,那么在服务器“testapp”中,我可以看到客户端计算机已连接,服务器将开始监控。

但实际情况是我无法在客户端上安装 windowservice。我收到错误,该错误作为跟踪文件提到:

I have one server called 'testapp' and client machine called 'clientapp'.I am trying to install one windowservice called 'SVM' on client machine. If install 'SVM' in 'clientapp' and configure 'testapp' as Server here in this service tab, Then in server 'testapp' i can see client machine as connected and server will start monitoring.

But what actually going is i am not able to install windowservice on client. I am getting error which is mentioned down as trace file:

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

俯瞰星空 2024-11-13 18:59:57

主动拒绝意味着机器可以访问,但它回复了 nack。
这意味着该端口上没有任何内容侦听该 IP 地址。

您必须确保您的服务器正在侦听并且他正在侦听您的本地主机上的连接。

如果您仅使用 127.0.0.1 作为本地主机,它可能也会有所帮助。无论您在 127. 之后输入什么内容,都会将您连接到本地主机,但按照惯例使用 127.0.0.1。

Actively refused it means that the machine was reachable but it replied with a nack.
This means that nothing is listening on that port for that IP address.

You have to assure that your server is listening and that he is listening for connections on your localhost.

It could probably help too if you just used 127.0.0.1 as local host. Whatever you put after 127. will connect you with your local host, but 127.0.0.1 is used by convention.

池予 2024-11-13 18:59:57

127.xx.xx.xx 保留用于环回到同一台机器 - 换句话说,这实际上并不是在尝试与服务器通信。目前尚不清楚该地址来自哪里,但如果您找到正确的地址,它可能就会开始工作。

127.xx.xx.xx is reserved for loopback to the same machine - in other words, that's not actually trying to talk to the server. It's unclear where that address has come from, but if you find the right address, it may just start to work.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文