Modify the ports 1521 and 8080 occupied by OracleXEListener
Modify ports 1521 and 8080 occupied by Oracle XE Listener
When I was installing OracleXE for developer Demon today, there was a prompt:
It can be seen that the default web console service port is 8080 and cannot be changed during installation. After installation, it conflicts with Tomcat, Jboss, and other servers, so many problems may occur. There is such an SQL statement in the XE installation file that can be used to change the http port.
In the D: \ oraclexe \ app \ oracle \ product \ 10.2.0 \ server \ config \ scripts \ postDBCreation. SQL file. There is such an SQL code:
Take a look at the log file D: \ oraclexe \ app \ oracle \ product \ 10.2.0 \ server \ config \ log \ postDBCreation. log, which contains the following records:
It can be seen that Oracle XE uses it to set the http port and opens the SQL * Plus console. Use sys or system to log on. Then run:
In this way, the port is set to 8081.