By default, Ambari Server uses port 8080 to access the Ambari Web UI and the REST API. To change the port number, you must edit the Ambari properties file.
Important | |
---|---|
Ambari Server should not be running when you change port numbers. Edit
|
On the Ambari Server host, open
/etc/ambari-server/conf/ambari.properties
with a text editor.Add the client API port property and set it to your desired port value:
client.api.port=<port_number>
Start or re-start the Ambari Server. Ambari Server now accesses Ambari Web via the newly configured port:
http://{your.ambari.server}:<port_number>