this post is related to this:Remote desktop connection by host name vs IP address
but there's more info to be presented so decided to post a new one.
when connecting to remote desktop using the hostname, it often hangs on "securing remote connection...". this is the wireshark capture:
but when the connection succeeds, which is sometimes when hostname is used and always when ip address is used, this is the capture:
notice the psh,ack on the first capture. then it hangs after the last captured packet.
in the second case it connects and then functions normally.
22222 is just the remote desktop port on the target win10 machine, changed from 3389. client machine is also win10.
any ideas why it often gets stuck, but only when the hostname is specified in mstsc.exe?