Windows cmd view port information

Source: Internet
Author: User


CD c:\WINDOWS\system32\

Netstat-an


Android SDK startup error error:could not install *smartsocket* listener:cannot bind to 127.0.0.1:5037:

Problem cause: Port 5037 is occupied

Solution:

Mode one: You can use the cmd command

C:\users\administrator>netstat-ano | Findstr "5037" <<<<<-------------view 5037 by WHO, then kill

TCP 127.0.0.1:5037 0.0.0.0:0 LISTENING 4524

TCP 127.0.0.1:5037 127.0.0.1:10265 established 4524

TCP 127.0.0.1:5037 127.0.0.1:10274 established 4524

TCP 127.0.0.1:5037 127.0.0.1:12382 established 4524

TCP 127.0.0.1:5037 127.0.0.1:12513 established 4524

TCP 127.0.0.1:5037 127.0.0.1:12650 established 4524

TCP 127.0.0.1:10265 127.0.0.1:5037 established 4524

TCP 127.0.0.1:10274 127.0.0.1:5037 established 2228

TCP 127.0.0.1:12382 127.0.0.1:5037 established 9028

TCP 127.0.0.1:12513 127.0.0.1:5037 established 4524

TCP 127.0.0.1:12650 127.0.0.1:5037 established 4524

TCP 127.0.0.1:14132 127.0.0.1:5037 syn_sent 4524

C:\users\administrator>tasklist| Findstr "4524"

Wandoujia2.exe 4524 Console 1 63,968 K <<<<<--------------kill the occupied end The process of the mouth

C:\users\administrator>netstat-ano | Findstr "5037"

Mode two: Open Task Manager-"View--" select column. -"Select PID

Locate the process that occupies 5037, and then select End Process, and then reopen the SDK

PS: It's a good idea to open the SDK before opening the emulator, because there are times when the two conflicts.



Windows cmd view port information

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.