on prem: How to change default port of edge ui for version 4.17.05

Hi,

I referred to few of the posts related to changing default port(8080) of the edge ui and tried to change it in the file - defaults.sh in the directory - opt/apigee/customer. It did not work for me. Can you please let me know if I am doing the changes in the right file?

Thanks,

Santosh

1 4 980
4 REPLIES 4

Not applicable

Edge UI listen on port 9000. Management Server on 8080.

We recommend keeping standard ports to avoid conflicts with documentation, existing scripts and upgrades process.

If you require a different port, it is easier to solve that by exposing UI or MS using a Load Balancer. On the Load Balancer you can expose a standard port i.e. 80 or 443.

Hi Maudrit,

Thank you for your reply. As a worst case scenario can we still change it directly(not via LB) if we manage to avoid the conflicts? If yes, how?

Thanks,

Santosh

Another good reason to change/amend default ports for UI and MS is sSetting up TLS, especially in a dual mode (ie, leaving both http and https access), That is why you can find additional information about port configuration in documentation pages dedicated to TLS configuration.

Both types of ports, http and https, are situated nearby to each other. So, by tracking https port changes, you can identify the location of http ports.

There are actually three different ways to change these ports, CWC, manual and config-file-based.

To change a port of Edge UI manually

https://community.apigee.com/questions/22482/how-to-change-the-port-of-apigee-enterprise-ui-fro-1.ht...

or in the documentation

http://docs.apigee.com/private-cloud/latest/setting-port-number-edge-ui

To change a port of Ege UI TLS using config file

http://docs.apigee.com/private-cloud/latest/configuring-ssl-management-ui

To change Management Server TLS port

http://docs.apigee.com/private-cloud/latest/configuring-ssl-management-api

To change Management Server http Port

For your specific question, as you are talking about port 8080, you want to change a port of Management Server not Edge UI.

Using CWC, you need to override value set by an install process

/opt/apigee/customer/application/management-server.properties

conf_webserver_http.port=8080

For details on CWC, see

http://docs.apigee.com/private-cloud/latest/how-configure-edge

You can't disable 8080 on MS. If you do, multiple scripts will stop working.