When starting TNSListener, Oracle Servlet Engine of oracle9i occupies port 8080, causing inconvenience to other programs that need to use port 8080. The following are two ways to solve the problem of using port 8080.
Solution:
After installation, modify the port through SQL. Log on to the database as a system administrator and execute the following SQL statement.
-- Change HTTP/WEBDAV port from 8080 to 8081
SQL> call dbms_xdb.cfg_update (updateXML (dbms_xdb.cfg_get (),
2 '/xdbconfig/sysconfig/protocolconfig/httpconfig/http-port/text ()', 8081 ))
3/
Call completed.
-- Change FTP port from 2100 to 2111
SQL> call dbms_xdb.cfg_update (updateXML (dbms_xdb.cfg_get (),
2 '/xdbconfig/sysconfig/protocolconfig/ftpconfig/ftp-port/text ()', 2111 ))
3/
Call completed.
SQL> commit;
Commit complete.
SQL> exec dbms_xdb.mongo_refresh;
PL/SQL procedure successfully completed.
-- Check whether the modification is successful
Run netstat-ano In the cmd command line to check whether port 8080 is still in use.