Community Articles
Find and share helpful community-sourced technical articles
Announcements
Alert: Welcome to the Unified Cloudera Community. Former HCC members be sure to read and learn how to activate your account here.
Community Manager

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. 

4,322 Views
0 Kudos