Our Community is getting an upgrade! To get everything ready for the relaunch, we’ll be placing the site in read-only mode starting September 21st.
We really appreciate your understanding while we get things set up behind the scenes. Catch up on all the exciting details about the move here.
Need help or have questions? Drop us a line at [email protected]
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.