现在的位置: 首页 > 综合 > 正文

oracle 10 TNSLSNR.exe 占用8080端口修改方法

2017年08月22日 ⁄ 综合 ⁄ 共 496字 ⁄ 字号 评论关闭

oracle 10服务一启动 TNSLSNR.exe 会占用8080端口,这时,需要改一下端口:

 

用oracle提供的包:
-- 把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;

 

转自:http://qingfeng825.javaeye.com/blog/599126

 

抱歉!评论已关闭.