Created 01-13-2019 02:39 PM
When I try to acces to ambari throw http://sandbox-hdp.hortonworks.com:8080/ it bring me to Apache Tomcat/9.0.8.
I try every thing i could and even that soulution, no even in Advanced HDP Quick Links worked to me Ambari , that issue is similar but the solusion doesnt work to me.
Any help would be apprecciated.
Thanks in Advance
Created 01-14-2019 08:24 AM
Yes, if any other process is using port 8080 then Sandbox provided Ambari will not able to use the same port.
So the best option will be to find the process which is using Port 8080 and then either stop that (Or change the port of that process) then restart the Sandbox.
Example: Some of the following command you can use to find the PID which tomcat and using port 8080
# ps -ef | grep -i tomcat # netstat -tnlpa | grep 8080
.
Created 01-13-2019 10:11 PM
It might be possible that you might be running some other services on your laptop like Oracle Database or some other tomcat server thats why it might be consuming the port 8080 which is supposed to be used by Ambari.
So please run the netstat command on your Laptop (local machine) to findout if port 8080 is being utilized by any other process or not?
The other wayt to quickly verify the same will be to "Stop the Sandbox" instance and then try to access port 8080 to see if you are still able to access the "Apache Tomcat/ 9.0.8" page? If yes then that means that page is coming from some process running on your local machine instead of sandbox (because Sandbox is not running currently).
.
Created 01-14-2019 08:06 AM
Hi @Jay Kumar SenSharma Thank you very much, you are right !
I stop the Sandbox and I still could access to "Apache Tomcat/9.0.8" ,
What would be the next steps ?
Check wich process is runnig Apache Tomcat and stop it ?
and then try again ?
Thank you very much,
Enrique
Created 01-14-2019 08:24 AM
Yes, if any other process is using port 8080 then Sandbox provided Ambari will not able to use the same port.
So the best option will be to find the process which is using Port 8080 and then either stop that (Or change the port of that process) then restart the Sandbox.
Example: Some of the following command you can use to find the PID which tomcat and using port 8080
# ps -ef | grep -i tomcat # netstat -tnlpa | grep 8080
.
Created 01-14-2019 08:29 AM
Thank you very much @Jay Kumar SenSharma !!!!