Archives of Support Questions (Read Only)

This is an archived board for historical reference. Information and links may no longer be available or relevant
Announcements
This board is archived and read-only for historical reference. To ask a new question, please post a new topic on the appropriate active board.

i have accidentally changed the hortonworks IP address in etc/hosts , so could someone update me the default Ip address that come withthe sandbox. Thanks in advace :)

avatar
New Member
 
1 ACCEPTED SOLUTION

avatar
Master Mentor

@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.

http://newIP:8080

The original IP address is not hard code in any config files !

View solution in original post

3 REPLIES 3

avatar
Master Mentor

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.

avatar
Master Mentor

@Bharathkumar B

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 )

avatar
Master Mentor

@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.

http://newIP:8080

The original IP address is not hard code in any config files !