Analyze the default port number modified by Oracle

Source: Internet
Author: User

The following articles mainly involve the change of the default port number in Oracle, including the security of the Oracle database and the related steps for modifying the port number. The following describes the specific content, I hope you will gain some benefits after browsing the following content.

Oracle Database Security consists of two parts:

1. OS Security

2. Network Security

3. Security of Oracle software

OS security depends on the technical level of the corresponding operating system and administrator. Here we only talk about Oracle Security.

The security of Oracle software I know includes:

1. Change the default listening port number of Oracle

2. Add a password to the listener

3. Oracle control ip connection

We will test and learn about these three aspects.

Oracle default listening port Oracle Change

1. Change the default listening port number of Oracle

Steps for modifying the port number

1.1. View the status of the current listener

1.2. Stop listening

1.3. Modify the port number of the listener File

1.4. Modify the initialization parameter local_listener

1.5. Restart the listener

1.6. Modified. Use the new port to log on to the test.

Practice steps:

1.1. View the status of the current listener

 
 
  1. Documents and Settings \ skate_db> lsnrctl status
  2. LSNRCTL for 32-bit Windows: Version 10.2.0.1.0-Production on-2008
  3. 1: 19
  4. Copyright (c) 1991,200 5, Oracle. All rights reserved.

Connecting

 
 
  1. (DESCRIPTION = (ADDRESS = (PROTOCOL = IPC) (KEY = EXTPROC1 )))
  2. LISTENER STATUS

Alias LISTENER

Version TNSLSNR for 32-bit Windows: Version 10.2.0.1.0-Produ

Ction

Start Date:-2008 11:47:59

Normal operation time 0 days 0 hours 23 minutes 19 seconds

Tracking level off

Security ON: Password or Local OS Authentication

SNMP OFF

Listener parameter file

 
 
  1. Oracle\product\10.2.0\db_3\network\admin\listener.o  
  2. ra  

Listener Log File

 
 
  1. \Oracle\product\10.2.0\db_3\network\log\listener.log 

Listener endpoint overview...

 
 
  1. (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(PIPENAME=\\.\pipe\EXTPROC1ipc)))  
  2. (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=skate)(PORT=1522)))  

Service summary ..

The Service "PLSExtProc" contains one routine.

Routine "PLSExtProc", status UNKNOWN, contains one handler of this service...

The Service "orcl" contains one routine.

Routine "orcl", status READY, contains 1 handler of this service...

The Service "orclXDB" contains one routine.

Routine "orcl", status READY, contains 1 handler of this service...

The Service "orcl_XPT" contains one routine.

Routine "orcl", status READY, contains 1 handler of this service...

Command executed successfully

1.2. Stop listening

 
 
  1. \ Documents and Settings \ skate_db> lsnrctl stop
  2. LSNRCTL for 32-bit Windows: Version 10.2.0.1.0-Production on-2008 13
  3. 6: 15

Copyright (c) 1991,200 5, Oracle Change. All rights reserved.

Connecting to (DESCRIPTION = (ADDRESS = (PROTOCOL = IPC) (KEY = EXTPROC1 )))

Command executed successfully

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.