oracle 服务一启动 TNSLSNR.exe 会占用8080端口,这时,如果我们其他程序需要使用8080端口就会比较麻烦,所以需要改一下端口:

 

用dba账户登录

CMD>sqlplus sys/123 as sysdba


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;

这样,TNSLSNR.exe就会使用8081端口了

相关文章:

  • 2021-07-25
  • 2022-12-23
  • 2022-01-10
  • 2022-12-23
  • 2022-12-23
  • 2021-08-26
  • 2021-09-16
  • 2022-12-23
猜你喜欢
  • 2021-08-24
  • 2021-08-04
  • 2022-12-23
  • 2021-12-20
  • 2021-09-01
  • 2022-02-11
相关资源
相似解决方案