tnslsnr.exe occupies port 8080 solution

Once the oracle 10 service is started, TNSLSNR.exe will occupy port 8080. At this time, you need to change the port:

use the package provided by oracle:
-- Change the HTTP/WEBDAV port from 8080 to 8081
SQL> call dbms_xdb.cfg_update(updateXML(dbms_xdb. cfg_get(),
'/xdbconfig/sysconfig/protocolconfig/httpconfig/http-port/text()',8081))
/

-- Change the FTP port from 2100 to 2111
SQL> call dbms_xdb.cfg_update(updateXML(dbms_xdb.cfg_get( ),
'/xdbconfig/sysconfig/protocolconfig/ftpconfig/ftp-port/text()',2111))
/
SQL> commit;
SQL> exec dbms_xdb.cfg_refresh;
-- check if the modification has been successful
SQL> select dbms_xdb.cfg_get from dual;

Guess you like

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