I am tying to connect to Windows 10 machine from a macOS Sierra using Microsoft Remote Desktop. The Windows machine is behind a switch. Both machines run on a local network.
I can connect to it using IP, but I can't using hostname. I've got the hostname from
192.168.1.1 router DHCP table.
Error when trying to connect with hostname:
We couldn't connect to the remote PC because the PC can't be found. Please provide the fully-qualified name or the IP address of the remote PC, and then try again. Error code: 0x104.
What could be the reason and what should I do?