Solutions to ports 8080 and 80 occupied after Oracle Installation

Source: Internet
Author: User

Solution to port 80 occupation after Oracle installation:

Modify two files in the oracle \ Apache \ conf directory: httpd. conf, httpd. conf. default: Change the port in the file from 80 to 18001 to change the application port of Apache to port 18001. Restart Apache and the Web will be able to use port 80. In this case, Apache uses port 18001. If you do not know how to restart Apache, restart your computer. After the restart, the problem should be solved.

Solution

Port 8080 usage:

Use the sys account to log in as sysdba and use the following statement to change the port occupied by Oracle:

Oracle 9i: call dbms_namespace.shell ('@ jis/install/serverendp. ssh admin 8080 9090-register '); Oracle 10g: call dbms_xdb.cfg_update (updateXML (dbms_xdb.get _get (),'/xdbconfig/sysconfig/protocolconfig/httpconfig/http-port/text () ', 9090 ));

Note: The preceding statement changes the Oracle XML database port to 9090. You can change it to another idle port. Run the preceding command to Log On As sysdba.

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.