Use sys to log on to Oracle and use dbms_xdb to modify port settings SQL> call dbms_xdb.cfg_update (updatexml ( 2 dbms_xdb.mongo_get () 3, '/xdbconfig/sysconfig/protocolconfig/httpconfig/HTTP-Port/text ()' (4, 8081 )) 5/ After running, the message "call completed." is displayed. Next SQL> commit; Tip: commit complete. SQL> exec dbms_xdb.mongo_refresh; Use the Enterprise Manager Console, select database-XML database-configuration, and change the default value of HTTP-port to 8081. ---------------------------------------------------------------- After the Oracle database is installed, an XDB window will pop up when we access port 8080, requiring the user name and password to be entered. This will conflict with some local applications that use this port, such as Tomcat and JBoss. Although these ports can be modified, Oracle always occupies this port. Oracle databases can use TCP to connect through port 8080, so port 8080 is occupied. To cancel the occupation, open the spfile [SID Name]. ora file in the database directory under the Oracle installation directory to modify it. This file is the Oracle STARTUP configuration file. Remove the line *. dispatchers = '(Protocol = TCP) (Service = or9ixdb. Restart the computer, or restart the oracleservice [SID Name] service in the service. After restart, you may not be able to use the Enterprise Manager Console to connect to other clients. In this case, use the configuration and migration tools/NET configuration assistant tool of Oracle to delete the listener, create a new listener, and restart the listener. Use configuration and migration tools/net manager to delete the service name and create a new one. Now oracle can be used normally, and 8080 won't be used. |