I had deployed an Virtual Machine with Windows Server 2012 R2.
I went to
"Network and Sharing Settings" -> "Change Adapter Settings" -> "Ethernet/Properties" -> "Internet Protocol Version 4/Properties"
And by mistake changed the IP Address to a value different than the Private IP Address. Now I am not able to connect to the VM using RDP and also the website deployed is not working.