Knowledge Base

cancel
Showing results for 
Search instead for 
Did you mean: 

How do I change the Controller HTTP port?

To change the Controller from default port 8090 to an open HTTP port, make the following changes to file <controller>\appserver\glassfish\domains\domain1\config\domain.xml.

 

1. Search for the following:

 

<network-listener port="8090" protocol="http-listener-1" enabled="true" transport="tcp" name="http-listener-1" thread-pool="http-thread-pool"></network-listener>

 

2. Edit the file:

 

<network-listener port="<new-port>" protocol="http-listener-1" enabled="false" transport="tcp" name="http-listener-1" thread-pool="http-thread-pool"></network-listener>

 

3. Add the new port details in place of <new-port>.

 

4. Restart the Controller app server:

 

To achieve this run the following commands:

If Windows:
<Controller_Home>/bin/controller.bat stop-appserver
<Controller_Home>/bin/controller.bat start-appserver

If Linux:
<Controller_Home>/bin/controller.sh stop-appserver
<Controller_Home>/bin/controller.sh start-appserver

 

5. After restarting the app server, access the Controller using the new port in the URL.

 

Example: http://hostname:port/controller

Version history
Revision #:
5 of 5
Last update:
‎09-14-2018 10:32 AM
Updated by:
 
Tags (1)
0 Kudos