I shall suggest you to check firewall.
Allow the following services through the firewall for private and public networks by checking both boxes:
“Network discovery”
“Remote desktop”
‘Remote service management”
“Routing and remote access”
“Windows remote management.”