Oracle disables port 8080 and closes the XDB service

method one:  

 

sqlplus '/ as sysdba'
EXEC DBMS_XDB.SETHTTPPORT(0);

 

 

Method Two:

    Edit the $ORACLE_HOME/dbs/initSID(init).ora file and comment the following lines:

   

#dispatchers='(PROTOCOL=TCP) (SERVICE=ORCLXDB)'

   Then restart the database:

shutdown immediate;
create spfile from pfile;
startup;

  

 

If you check that port 8080 has not been closed by the following command, close the database, monitor, and restart the database server:

 

netstat -an | grep 8080

   Turn off listening:

 

 

lsnrctl stop

  Close the database:

 

 

sqlplus '/ as sysdba'
shutdown immediate;

  Restart the server:

 

 

reboot

  Start listening:

 

 

lsnrctl start

 Start the database:

    

sqlplus '/ as sysdba'
startup;

 

Finally check if the port is up:

netstat -an | grep 8080

 

 

 

 

 

 

Guess you like

Origin http://10.200.1.11:23101/article/api/json?id=326778615&siteId=291194637