Solve the problem that oracle occupies port 8080

Source: Internet
Author: User

When starting TNSListener, Oracle Servlet Engine of oracle9i occupies port 8080, causing inconvenience to other programs that need to use port 8080. The following are two ways to solve the problem of using port 8080.

Solution:
After installation, modify the port through SQL. Log on to the database as a system administrator and execute the following SQL statement.

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

Call completed.
-- Change FTP port from 2100 to 2111
SQL> call dbms_xdb.cfg_update (updateXML (dbms_xdb.cfg_get (),
2 '/xdbconfig/sysconfig/protocolconfig/ftpconfig/ftp-port/text ()', 2111 ))
3/

Call completed.

SQL> commit;

Commit complete.

SQL> exec dbms_xdb.mongo_refresh;

PL/SQL procedure successfully completed.
-- Check whether the modification is successful

Run netstat-ano In the cmd command line to check whether port 8080 is still in use.

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.