Support Questions

Find answers, ask questions, and share your expertise

Bind Ambari UI port 8080

avatar
Super Collaborator

Hi!

How do I bind ambari port 8080 to interfaces?

Thank yoU!

1 ACCEPTED SOLUTION

avatar
Super Collaborator
@Sagar Shimpi

@Jitendra Yadav

Issue solved. It was on my end via iptables. Thank you for your response.

Really appreciate it.

#caseclosed

View solution in original post

6 REPLIES 6

avatar
Super Guru
@Michael Dennis "MD" Uanang

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.

avatar
Super Guru

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?

avatar
Super Collaborator

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.

avatar

@Michael Dennis "MD" Uanang

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>

avatar
Super Collaborator
@Sagar Shimpi

@Jitendra Yadav

Issue solved. It was on my end via iptables. Thank you for your response.

Really appreciate it.

#caseclosed

avatar
Master Guru

@Michael Dennis "MD" Uanang - Please accept appropriate answer to close this question.