RDP Connection Timeout
We used the instructions on Accessing Windows build worker via Remote Desktop to enable RDP access to a Visual Studio 2019
build worker VM.
However when we attempt to connect to the IP address displayed in the build output, the connection times out and we never get a credential prompt. We are unable to ping the host or reach its 3389
port:
❯ Test-NetConnection -ComputerName 67.225.165.215 -Port 3389
WARNING: TCP connect to (67.225.165.215 : 3389) failed
WARNING: Ping to 67.225.165.215 failed with status: TimedOut
This happens with every build worker VM, all using different IP addresses.
Comments are currently closed for this discussion. You can start a new one.
Keyboard shortcuts
Generic
? | Show this help |
---|---|
ESC | Blurs the current field |
Comment Form
r | Focus the comment reply box |
---|---|
^ + ↩ | Submit the comment |
You can use Command ⌘
instead of Control ^
on Mac
Support Staff 1 Posted by Feodor Fitsner on 08 Sep, 2023 06:42 PM
3389 won't work. There is a redirection to 3389. Use port displayed by a script.
2 Posted by jlarionov on 08 Sep, 2023 06:59 PM
The only port displayed in the output is port
3389
.3 Posted by jlarionov on 08 Sep, 2023 07:08 PM
We just realized we're using
$nonat = $true
before enabling RDP. Looks like we needed to use that previously but it isn't working now. I've removed it and now we do get a unique port number that we can successfully connect to.I can't find any docs on
$nonat
. Can you share details on what that variable does and when it should be used?Support Staff 4 Posted by Feodor Fitsner on 08 Sep, 2023 07:10 PM
Here you are: https://github.com/appveyor/ci/blob/master/scripts/enable-rdp.ps1#L...
Feodor Fitsner closed this discussion on 08 Nov, 2023 09:03 PM.