Oracle Modify Listener Port Tutorial

Source: Internet
Author: User

Oracle default Listener Port 1521, a common scanner is usually detected by the 1521 port is open to detect the presence of Oracle services, if the modification of the default listening port to some extent can improve the security of the database and host.

For example, here we change to 2521 as an example.

1. View the current listening status

Lsnrctl status

2. Stop Monitoring

Lsnrctl stop

3. Modify the Listening profile

VI $ORACLE _home/network/admin/listener.ora

Modify the listening port 1521 to 2521

4. Modify the connection configuration file

VI $ORACLE _home/network/admin/tnsnames.ora

Change the connection port 1521 to 2521

5. Login database View Local_listener parameters

Sqlplus/As sysdbashow parameter Local_listener

If the port is not previously modified with the default configuration, the parameter value should be null at this time

6. Modify the Local_listener parameter

Alter system set local_listener="(address = (PROTOCOL = TCP) (HOST = 192.168.220.128) (PORT = 2521)" ;

7. Review the Local_listener parameters again

Show Parameter Local_listener

8. Restart Monitoring

Lsnrctl start

9. Check that the listening status is normal

grep 2521 lsnrctl statustnsping ORCL

Reference:

Http://www.jb51.net/article/102627.htm

http://blog.csdn.net/xaobai2010/article/details/7287604

Oracle Modify Listener Port Tutorial

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.