I have encountered this error message out of suddenly. Formerly I am able to access it all along
Error messages as such:
We couldn't connect to the remote PC. Make sure the remote PC is turned on and connected to the network, and has enabled remote access
Please advice how to resolve it
It's in Windows Server 2012
How are you connecting? For example if RDP you could try PowerShell from source and target.
Test-NetConnection -ComputerName "192.168.49.142" -CommonTCPPort "RDP" -InformationLevel "Detailed"