如何从端口8080更改Oracle?我的Eclipse使用的是8080,所以我不能使用它。
发布于 2012-08-07 12:37:56
从开始|运行打开命令窗口。假设您的环境变量设置正确,请从以下内容开始:
C:\>sqlplus /nolog
SQL*Plus: Release 10.2.0.1.0 - Production on Tue Aug 26 10:40:44 2008
Copyright (c) 1982, 2005, Oracle. All rights reserved.
SQL> connect
Enter user-name: system
Enter password: <enter password if will not be visible>
Connected.
SQL> Exec DBMS_XDB.SETHTTPPORT(3010); [Assuming you want to have HTTP going to this port]
PL/SQL procedure successfully completed.
SQL>quit 然后打开浏览器并使用3010端口。
发布于 2009-06-18 07:03:02
来自this博客文章:
XE:更改默认http端口
Oracle XE使用XML DB (XDB)附带的嵌入式http侦听器来处理http请求。HTTP访问的默认端口为8080。
编辑:
将8080端口更新到您喜欢的端口(例如9090)
SQL> -- set http port
SQL> begin
2 dbms_xdb.sethttpport('9090');
3 end;
4 /更改端口后,当我们启动Oracle时,它将转到端口8080,我们应该在地址栏中手动键入新端口(9090)以运行Oracle XE。
发布于 2010-11-04 22:05:53
以SYS/SYSTEM身份执行Exec DBMS_XDB.SETHTTPPORT(8181);。将8181替换为您希望更改为的端口。使用Oracle 10g对此进行了测试。
来源:http://hodentekhelp.blogspot.com/2008/08/my-oracle-10g-xe-is-on-port-8080-can-i.html
https://stackoverflow.com/questions/142868
复制相似问题