How do you configure the listener program for Oracle 11g?

To configure the Oracle 11g listener, follow these steps:

  1. Open the command prompt or terminal window and log into the operating system with administrator privileges.
  2. listener configuration.
  3. – ADMINISTRATOR/NETWORK ADMINISTRATOR
  4. The directory path for the listener.ora file is C:\app\oracle\product\11.2.0\dbhome_1\NETWORK\ADMIN\listener.ora.
  5. listener configuration file.
  6. audience
LISTENER =
  (DESCRIPTION_LIST =
    (DESCRIPTION =
      (ADDRESS = (PROTOCOL = TCP)(HOST = <主机名>)(PORT = <端口号>))
    )
  )

Please replace with your hostname or IP address, and with the listening port number you want to use (default is 1521).
4. Save and close the listener.ora file.
5. In the command prompt or terminal window, enter the following command to start the listener program:

lsnrctl start
  1. Wait for a moment, the monitoring program will start and begin listening on the specified port. You can view the corresponding startup log information in the command prompt or terminal window.
  2. To stop the monitoring program, enter the following command in the command prompt or terminal window:
lsnrctl stop

This completes the configuration of the Oracle 11g listener. You can now use the Oracle client on other computers in the same network to connect to this listener.

bannerAds