There are two ways, where you can change the Admin server port specific to the domain.
1) Editing the 'config.xml' file
Go to the domain specific 'config' directory and edit the çonfig.xml file. This file will contains the complete configuration details of the servers, machines, port..etc
Ex: C:\Oracle\Middleware\Oracle_Home\user_projects\domains\TestDomain\config
Find the below code
Here 7001 is the admin server port of the domain. Now changed it to the required port and re-start the server and access the Admin console with the new port.
2) From the Admin console preferences:
Login in into the Admin console.
Click on the "Lock & Edit" button on the left pane. This is to edit the configuration's in the console.
Navigate to Environment --> Servers --> admin server
Click on Admin Server
Go to the 'Çonfiguration' tab
Change the ''Listen Port:' value. Re-start is not required for this kind of change.
The best and suggested way is to change the port from the Admin server console preference through the GUI.
1) Editing the 'config.xml' file
Go to the domain specific 'config' directory and edit the çonfig.xml file. This file will contains the complete configuration details of the servers, machines, port..etc
Ex: C:\Oracle\Middleware\Oracle_Home\user_projects\domains\TestDomain\config
Find the below code
<server>
<name>AdminServer</name>
<ssl>
<name>AdminServer</name>
<enabled>false</enabled>
<listen-port>7006</listen-port>
</ssl>
<listen-port>7001</listen-port>
<listen-address>localhost</listen-address>
</server>
Here 7001 is the admin server port of the domain. Now changed it to the required port and re-start the server and access the Admin console with the new port.
2) From the Admin console preferences:
Login in into the Admin console.
Click on the "Lock & Edit" button on the left pane. This is to edit the configuration's in the console.
Navigate to Environment --> Servers --> admin server
Click on Admin Server
Go to the 'Çonfiguration' tab
Change the ''Listen Port:' value. Re-start is not required for this kind of change.
The best and suggested way is to change the port from the Admin server console preference through the GUI.
No comments:
Post a Comment