更改ORACLE所占用的8080端口号

本文详细记录了如何通过SQL*Plus命令修改Oracle数据库的HTTP/WEBDAV和FTP端口,包括具体步骤和示例代码,确保了数据库配置的高效调整。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

C:\Documents and Settings\hesai>sqlplus

SQL*Plus: Release 10.1.0.2.0 - Production on 星期六 10月 20 15:16:37 2012

Copyright (c) 1982, 2004, Oracle.  All rights reserved.

Enter user-name: / as sysdba

Connected to:
Oracle Database 10g Enterprise Edition Release 10.1.0.2.0 - Production
With the Partitioning, OLAP and Data Mining options


-- Change the HTTP/WEBDAV port from 8080 to 8090
SQL> call dbms_xdb.cfg_update(updateXML(dbms_xdb.cfg_get(),'/xdbconfig/sysconfig
/protocolconfig/httpconfig/http-port/text()',8090));


Call completed.
-- 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));


Call completed.

SQL> commit;

Commit complete.

SQL> exec dbms_xdb.cfg_refresh;

PL/SQL procedure successfully completed.

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值