oracle–11g Express Edition service startup TNSLSNR.exe takes up 8080 port issues

Source: Internet
Author: User

"LJ?" Dragon "The fish said to the water that you could not see my tears, for I was in the water." Water says I can feel your tears, because you are in my heart.

"LJ?" Dragon "You" re more than a shadow, I ' ve just to believe.

"LJ?" Dragon "A true friend is some one who reaches for your hand and touches your heart.

1. See who is occupying a port

1.1 Start----> Run---->cmd, or the WINDOW+R key combination to bring up the command window

1.2 Input command: Netstat-ano, List all ports. In the list we look at the occupied port, such as 8080, and find it first.

1.3 View the occupied port corresponding PID, input command: netstat-aon|findstr "8080", enter, note the last digit, namely PID, here is 4416

1.4 Continue entering Tasklist|findstr "4416", enter to see which process or program is taking up 8080 ports, the result is: TNSLSNR.exe

Or we open the Task Manager, switch to the Process tab, in the PID column to see who the 4416 corresponding process is, if you do not see the PID column,

Then we click on the view---> select column and click on the front of the PID (process identifier) to make sure.

So we see the PID of this column identification, look at the 2720 corresponding process is who, if not, we put the following to show all users of the process front of the tick hit,

As you can see, the image name is TNSLSNR.exe, and the description is that the main process of Windows is exactly the same as the command view above.

1.5 End the process: Select the process in Task Manager to click the "End Process" button, or enter it in the cmd command window: taskkill/f/t/im Tencentdl.exe

2.Oracle 11g Service starting TNSLSNR.exe consumes 8080 ports

At this point, if our other programs need to use 8080 port will be more troublesome, so we need to change the port:

Using Oracle-Provided packages:

--Change the Http/webdav port from 8080 to 9081 log in with your DBA account

Call Dbms_xdb.cfg_update (Updatexml (Dbms_xdb.cfg_get (), '/xdbconfig/sysconfig/protocolconfig/httpconfig/http-port /text () ', 9081));
--Change the FTP port from 2100 to 2111
Call Dbms_xdb.cfg_update (Updatexml (Dbms_xdb.cfg_get (), '/xdbconfig/sysconfig/protocolconfig/ftpconfig/ftp-port/ Text () ', 2111));
Sql> commit;
Sql> EXEC dbms_xdb.cfg_refresh;--Checks if the modification has succeeded Sql> select Dbms_xdb.cfg_get from dual;

This way, TNSLSNR.exe will use port 8081.

oracle–11g Express Edition service starts TNSLSNR.exe issues with port 8080

Related Article

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.