Created 06-03-2016 12:11 PM
Hi!
How do I bind ambari port 8080 to interfaces?
Thank yoU!
Created 06-06-2016 07:28 AM
@Jitendra Yadav
Issue solved. It was on my end via iptables. Thank you for your response.
Really appreciate it.
#caseclosed
Created 06-03-2016 12:17 PM
There are 2 ways you can do it -
1. Modify /etc/hosts to the IP to which you want to bind 8080.
2. You can use IPtables post/pre routing to bind the IP to port 8080.
Created 06-03-2016 12:35 PM
Hi @Michael Dennis "MD" Uanang
I see on my cluster that by default Ambari 8080 port bind with all the available interfaces on that host like eth0,eth1, eth2 etc. What issue you are facing?
Created 06-06-2016 12:46 AM
Hi @Jitendra Yadav, I've setup a cluster and the node have 2 interfaces.
i've setup an ipsec tunnel to access them via private ip, but cat access ambari by using privateip:8080.
Created 06-06-2016 03:41 AM
Which version of ambari you are using?
Are you running ambari on bare metal or vm?
Can you share your ambari.properties file?
Also please paste the output of netstat -plant|grep <pid_ambari_server>
Created 06-06-2016 07:28 AM
@Jitendra Yadav
Issue solved. It was on my end via iptables. Thank you for your response.
Really appreciate it.
#caseclosed
Created 06-06-2016 08:44 AM
@Michael Dennis "MD" Uanang - Please accept appropriate answer to close this question.