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.