Current location - Quotes Website - Team slogan - How does Oracle change the port number of the listener (Linux)
How does Oracle change the port number of the listener (Linux)
Here are my steps to change the listener port number: 1. First, you need to stop listening. After using the command lsnrctl stop2. Listener, go to your $ORACLE_HOME/network/admin and find the file listener.ora3. Edit this file with vi. You can check the port number of the listener here, and then change it to the value you want, from 1522 to 152 1. 4. Save the modified file 5. Start sqlplus, and log in to the database with the system account and sqlplus SYSTEM/Password@***6. Execute the following command: alter system set local _ listener = (address = (protocol = TCP) (host = Oracle host) (port =1521)); Change the system register; 7. Execute lsnrctl status to verify the listener status.