@Aleksandar Rajic
In HDP Sandbox the credentials will be something like following:
1. For SSH using terminal:
# ssh root@localhost -p 2222
Enter Password: hadoop
2. Login to web terminal:
http://localhost:4200
User: root
Password: hadoop
NOTE: "localhost" is the loopback address so if you want to use the hostname then you will have to map the Hostname as mentioned in the below link.
3. In order to login to Ambari UI
http://localhost:8080
User: admin
Password: admin
You may want to take a look at the following link to get more details on this: https://hortonworks.com/tutorial/learning-the-ropes-of-the-hortonworks-sandbox/
.
If you still face any issue in accessing the ambari server then please share the ambari-server.log and check if the port 8080 is listening?
# ssh root@localhost -p 2222
Enter Password: hadoop
# ambari-server status
# netstat -tnlpa | grep 8080
# less /var/log/ambari-server/ambari-server.log
# ambari-server restart
.