VMware Cloud Community
alideada
Contributor
Contributor

I can't to connect with RDP to VM on ESXi 6.5

I have ESXi 6.5 with some VMs with Windows 8.

I can't to connect with RDP to them. I turned off their firewall and check RDP option is enabled.

But I try to connect with my computer in their LAN and get error.

What the problem? Please, help me.

thanks

Tags (2)
0 Kudos
7 Replies
vXav
Expert
Expert

What's the error?

Can you ping them?

Can you RDP from another VM on the same port group?

Did you configure the guest correctly?

0 Kudos
alideada
Contributor
Contributor

I tried to connect from VM to other VM. See the error:

rdp.png

I get ping.

Thank you

0 Kudos
vXav
Expert
Expert

Is the port 3389 open ?

You can try in powershell: Test-NetConnection 10.0.0.8 -Port 3389

0 Kudos
alideada
Contributor
Contributor

I get error:

WARNING: TCP connect to 10.0.0.8:3389 failed

ComputerName           : 10.0.0.8

RemoteAddress          : 10.0.0.8

RemotePort             : 3389

InterfaceAlias         : Ethernet

SourceAddress          : 10.0.0.13

PingSucceeded          : True

PingReplyDetails (RTT) : 0 ms

TcpTestSucceeded       : False

I tried telnet too:

Connecting To 10.0.0.8...Could not open connection to the host, on port 3389: Connect failed

But I get ping:

Pinging 10.0.0.8 with 32 bytes of data:

Reply from 10.0.0.8: bytes=32 time<1ms TTL=128

Reply from 10.0.0.8: bytes=32 time<1ms TTL=128

Reply from 10.0.0.8: bytes=32 time<1ms TTL=128

Reply from 10.0.0.8: bytes=32 time<1ms TTL=128

Ping statistics for 10.0.0.8:

    Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),

Approximate round trip times in milli-seconds:

    Minimum = 0ms, Maximum = 0ms, Average = 0ms

0 Kudos
vXav
Expert
Expert

Is there a firewall between the client and the server? If yes it needs to allow 3389.

Are you sure the guest is configured properly? "System Properties" > "Remote" > "Allow remote connections to this computer"

0 Kudos
alideada
Contributor
Contributor

I havn't firewall.

The ESXI connected to switch, and the switch connected to router. I tried from VM on ESXI to another VM.

The RDP option is enabled.

0 Kudos
vXav
Expert
Expert

RDP needs the port 3389 to work and the test you performed showed that it's closed, at least from the client point of view.

So there is something in the chain between the client and the server blocking it.

Can you try the same command from the RDP server targeting 127.0.01 ?

Have you tried:

- Disable RDP > Restart server > Enable RDP

0 Kudos