How to change the default web UI port of Cloudera Manager

by Community Manager on ‎06-16-2015 10:42 AM

Question

 

By default the Cloudera Manager Web UI listens on port 7180.

 

If our environment or company policy requires Cloudera Manager to use a different port, how can I change it?

 

 

Answer

 

Preferred Method:

 

Modify the Cloudera Manager HTTP Port

 

  1. Have an admin log into CM
  2. Edit the "HTTP Port for Admin Console" property under Administration->Settings->Ports and Addresses to a port that's not restricted.

CM_Admin_Port_Change.png

 

Alternate Method:

 

Create an SSH Tunnel to Cloudera Manager

 

  1. ssh into the host running Cloudera Manager, as any user, and set up an SSH tunnel.
  2. For example, if your Cloudera Manager runs on cmbox.example.com. Then you run ssh on your local machine as:
  $ ssh -L 9999:localhost:7180 any-user@cmbox.example.com

  3.  Once you are logged on, visit http://locahost:9999/ on your local browser and it will pipe traffic to/from cmbox.example.com:7180

 

Note: While the change can also be completed via direct database manipulation it is error-prone and tedious, therefore it is not a recommended method. 

Disclaimer: The information contained in this article was generated by third-parties and not by Cloudera or it's personnel. Cloudera cannot guarantee its accuracy or efficacy. Cloudera disclaims all warranties of any kind and users of this information assume all risk associated with it and with following the advice or directions contained herein. By visiting this page, you agree to be bound by the Terms and Conditions of Site Usage , including all disclaimers and limitations contained therein.