Oracle occupies 8080 Port problem resolution

Source: Internet
Author: User

Anyone who may have both Tomcat and Oracle installed locally will know that after the installation of Oracle, the 8080 port of Tomcat is already occupied by Oracle.

Once the Oracle database is fully installed, when we access port 8080, a xdb window pops up asking for a user name and password. This will conflict with some of our local applications that use the port, such as Tomcat, JBoss, and so on, although these ports can be modified, but are always uncomfortable with Oracle occupying this port.
In fact, it's an Oracle XML database service that takes up 8080 ports, with the following workarounds:
Method One: You can use the SYS account to log in as SYSDBA, using the following statement to get rid of the port that Oracle occupies:

Oracle 9i:call Dbms_namespace.shell (' @jis/install/serverendp.ssh admin 8080 9090-register ');

Oracle 10g:call dbms_xdb.cfg_update (Updatexml (Dbms_xdb.cfg_get (), '/xdbconfig/sysconfig/protocolconfig/httpconfig /http-port/text () ', 9090));

Note: The above statement is to change the Oracle XML database port to 9090 and you can change to a different free port. Execute the above command to log in as SYSDBA identity.


Method Two:
You can select database configuration Assistant from the Oracle Group under the Start menu, and change the default port of the XDm service to 8081.

Method Three: You can see that Oracle XE is using it to set the HTTP port, open the Sql*plus console. Log in with SYS or system. Then run: [SQL]
    1. Begin
    2. Dbms_xdb.sethttpport (' 8081 ');
    3. Dbms_xdb.setftpport (' 0 ');
    4. End
    5. /

This will set the port to 8081.

Oracle occupies 8080 Port problem resolution

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.