Support Questions
Find answers, ask questions, and share your expertise

Change Ambari server from TCP6 to TCP

Highlighted

Change Ambari server from TCP6 to TCP

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
Highlighted

Re: Change Ambari server from TCP6 to TCP

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

Re: Change Ambari server from TCP6 to TCP

Cloudera Employee
Your answer is just for httpd, not for Ambari
Highlighted

Re: Change Ambari server from TCP6 to TCP

Cloudera Employee

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


Highlighted

Re: Change Ambari server from TCP6 to TCP

Explorer

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

 

Don't have an account?