Home  >  Article  >  Database  >  改变Oracle 10g Express Edition默认的8080端口

改变Oracle 10g Express Edition默认的8080端口

WBOY
WBOYOriginal
2016-06-07 14:54:391265browse

选择“运行SQL命令”,进入如下提示符 SQL 首先连接到服务器 connect 用户名/密码 登陆后输入如下命令: sql 代码 1.call dbms_xdb.cfg_update(updateXML(dbms_xdb.cfg_get(),'/xdbconfig/sysconfig/protocolconfig/httpconfig/http-port/text()',8081)); 其

选择“运行SQL命令”,进入如下提示符
SQL>
首先连接到服务器
connect 用户名/密码
登陆后输入如下命令:
sql 代码
1.call dbms_xdb.cfg_update(updateXML(dbms_xdb.cfg_get(),'/xdbconfig/sysconfig/protocolconfig/httpconfig/http-port/text()',8081));    
其中8081是修改后的端口,可以任意。
 
这样你就不会与Tomcat的默认端口冲突了,方便开发。

ftp服务占用2100端口,更改命令是:
sql 代码
1.call dbms_xdb.cfg_update(updateXML(dbms_xdb.cfg_get() , '/xdbconfig/sysconfig/protocolconfig/ftpconfig/ftp-port/text()', 2111));   

选择“运行SQL命令”,进入如下提示符
SQL>
首先连接到服务器
connect 用户名/密码
登陆后输入如下命令:
sql 代码
1.call dbms_xdb.cfg_update(updateXML(dbms_xdb.cfg_get(),'/xdbconfig/sysconfig/protocolconfig/httpconfig/http-port/text()',8081));     
其中8081是修改后的端口,可以任意。
  
这样你就不会与Tomcat的默认端口冲突了,方便开发。

ftp服务占用2100端口,更改命令是:
sql 代码
1.call dbms_xdb.cfg_update(updateXML(dbms_xdb.cfg_get() , '/xdbconfig/sysconfig/protocolconfig/ftpconfig/ftp-port/text()', 2111));    
Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn