In this post we will see how to change the SCAN Listener port from 1521 to 1585

For more exciting blogs on Oracle, please click the LINK

 

STEPS :

1. Check the current configuration of your SCAN Listener

[oracle@INFRA oracle]$ srvctl config scan_listener
SCAN Listeners for network 1:
Registration invited nodes:
Registration invited subnets:
Endpoints: TCP:1521
SCAN Listener LISTENER_SCAN1 exists
SCAN Listener is enabled.
SCAN Listener LISTENER_SCAN2 exists
SCAN Listener is enabled.
SCAN Listener LISTENER_SCAN3 exists
SCAN Listener is enabled.

 

2. Modify your SCAN Listener to port 1585

[oracle@INFRA oracle]$ srvctl modify scan_listener -p 1585

 

3. Restart your SCAN Listener

[oracle@INFRA oracle]$ srvctl stop scan_listener
[oracle@INFRA oracle]$ srvctl start scan_listener

 

4. Check your modified SCAN Listener configuration

[oracle@INFRA oracle]$ srvctl config scan_listener
SCAN Listeners for network 1:
Registration invited nodes:
Registration invited subnets:
Endpoints: TCP:1585
SCAN Listener LISTENER_SCAN1 exists
SCAN Listener is enabled.
SCAN Listener LISTENER_SCAN2 exists
SCAN Listener is enabled.
SCAN Listener LISTENER_SCAN3 exists
SCAN Listener is enabled.