How To Modify RAC SCAN Listener Port


For some security reasons, you may want to change RAC scan listener port number.

As grid user:

Modify SCAN listener port

$GRID_HOME/bin/srvctl modify scan_listener -p <new_scan_port>

Please don’t forget to update database init.ora/spfile parameter file as:

alter system set remote_listener='<scan_name>:<new_port_number>’ scope=both sid=’*’;

Restart SCAN listener so the new port will be effect

$GRID_HOME/bin/srvctl stop scan_listener
$GRID_HOME/bin/srvctl start scan_listener

Confirm it

$GRID_HOME/bin/srvctl config scan_listener