从远程机器连接到服务器

从远程机器连接到服务器

我希望将我的机器连接到其他城市的服务器。为此,我使用以下命令:

         mstsc -v ip_address_of_server

   remote desktop can't connect to remote computer for one of these reasons:
   1) Remote access to server is not enabled.
   2) Remote computer is turned off
   3) Remote computer is not available on network.
   Make sure remote computer is turned on and connected to the network, and that remote access is enabled.

根据之前的帖子,我需要关闭我的客户端计算机防火墙......我已经关闭了......但它仍然给我相同的消息。

有人能帮我一下吗...这样我才能解决这个问题?我对网络等还很陌生。

当我执行 ping 操作时:

 ping ip_address_of server

我收到以下回复:

来自 ip_address_of_server 的回复:目标主机不可达

我也确实在 ubuntu 上使用 rdesktop 尝试过...仍然无法连接它。

我还知道其他人能够远程将他们的机器连接到服务器。所以我猜这不仅适用于我。此外,当我通过 LAN 访问同一台机器时,我能够这样做。

答案1

您的主机(远程箱)无法访问,您应该按照第一个错误报告中所写的进行操作。

验证远程计算机是否正在运行,远程桌面服务是否正在运行,是否可以通过给定的 IP 访问,以及防火墙规则是否允许连接到端口 tcp/3389(远程桌面)。

也可能有另一个防火墙,或者如果它位于 NAT(端口转发)后面,则可能需要额外的规则。本地网络上可能还有一个输出防火墙策略,禁止通过远程桌面协议连接到远程位置。

相关内容