Oracle Listener.exe程序占用8080端口问题
cmd:netstat -ano|findstr 8080
中的内容,最后一项为pid。
在任务管理器中点击详细信息,查看对应pid的程序。
操作步骤:
一,登录sqlplus.exe
二,-- 把HTTP/WEBDAV端口从8080改到8081
SQL> call dbms_xdb.cfg_update(updateXML(dbms_xdb.cfg_get(),
‘/xdbconfig/sysconfig/protocolconfig/httpconfig/http-port/text()’,8081))
/
三,-- 把FTP端口从2100改到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;
六,-- 检查修改是否已经成功
SQL> select dbms_xdb.cfg_get from dual;