Support Questions

Find answers, ask questions, and share your expertise
Announcements
Celebrating as our community reaches 100,000 members! Thank you!

Change Ambari server from TCP6 to TCP

avatar
Expert Contributor

Hello All,

I have installed ambari and it got successfully got running on a vm.

but when i check ipaddress:8080, it is not getting access.

When i run the command netstat -nl | head

Output:-

Active Internet connections (only servers)

Proto Recv-Q Send-Q Local Address Foreign Address State

tcp6 0 0 :::5901 :::* LISTEN

tcp6 0 0 :::8080 :::* LISTEN
tcp6 0 0 :::8081 :::* LISTEN

it is running under tcp6 protocal.

how can i make it to run under tcp so that i can access through out the network.

Any suggestions,

Thanks,

Mohan V

4 REPLIES 4

avatar
Expert Contributor

@Mohan V

Try making below changes as per the link provided:

listen 0.0.0.0:80
listen 0.0.0.0:8080

Here is the link of document which could be helpful:

http://httpd.apache.org/docs/2.2/bind.html

avatar
Expert Contributor
Your answer is just for httpd, not for Ambari

avatar
Expert Contributor

https://www.thegeekdiary.com/centos-rhel-7-how-to-disable-ipv6-on-a-specific-interface-only/

# vi /etc/sysctl.conf
net.ipv6.conf.eth0.disable_ipv6 = 1

and then restart you Ambari server:

sudo ambari-server restart


avatar
Explorer

What are the impacts on other ports if I change from TCP6 to TCP? And will my Ambari server work on TCP?