@Bharathkumar B First comment out the modified IP address in /etc/hosts .. Dont remove these 2 lines
127.0.0.1 localhost localhost.localdomain localhost4 localhost4.localdomain4
::1 localhost localhost.localdomain localhost6 localhost6.localdomain6
# 192.168.192.100 # Modified IP
Don't panic if you can access the console as root run #ifconfig
This will display your new IP and use that to acces ambari or whatever UI you.
The original IP address is not hard code in any config files !
View solution in original post
127.0.0.1 or if you add 2nd network card, 192.168.56.101 @Bharathkumar B you can also comment out the entry in /etc/hosts and use 127.0.0.1 again.
You can always look into the option to configure more networks in your virtual machine appliance.
ifconfig -a after adding more networks and you can pick one of them which is working ( not recommended for every user as its advanced settings )