In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-10-20 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/02 Report--
Often, when we start the application, we find that the port needed by the system is occupied by other programs. How to know who owns the port we need? many people have a headache. Here is a very simple method. I hope it will be useful to you.
If we need to determine who occupies our port 9050,
1. Windows platform
Execute under the windows command line window:
1. Check all port occupancy
C:\ > netstat-ano
Protocol local address external address status PID
TCP 127.0.0.1:1434 0.0.0.0:0 LISTENING 3236
TCP 127.0.0.1:5679 0.0.0.0:0 LISTENING 4168
TCP 127.0.0.1:7438 0.0.0.0:0 LISTENING 4168
TCP 127.0.0.1:8015 0.0.0.0:0 LISTENING 1456
TCP 192.168.3.230:139 0.0.0.0:0 LISTENING 4
TCP 192.168.3.230:1957 220.181.31.225:443 ESTABLISHED 3068
TCP 192.168.3.230:2020 183.62.96.189:1522 ESTABLISHED 1456
TCP 192.168.3.230:2927 117.79.91.18:80 ESTABLISHED 4732
TCP 192.168.3.230:2929 117.79.91.18:80 ESTABLISHED 4732
TCP 192.168.3.230:2930 117.79.91.18:80 ESTABLISHED 4732
TCP 192.168.3.230:2931 117.79.91.18:80 ESTABLISHED 4732
two。 Check the occupancy of the specified port
C:\ > netstat-aon | findstr "9050"
Protocol local address external address status PID
TCP 127.0.0.1:9050 0.0.0.0:0 LISTENING 2016
P: see, the port is occupied by the process with process number 2016. Continue to execute the following command: (you can also check the process corresponding to pid in the task manager)
3. View the process corresponding to PID
C:\ > tasklist | findstr "2016"
Image name PID session name session # memory usage
=
Tor.exe 2016 Console 0 16064 K
P: it's clear that tor is occupying your port.
4. End the process
C:\ > taskkill / f / t / im tor.exe
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
The market share of Chrome browser on the desktop has exceeded 70%, and users are complaining about
The world's first 2nm mobile chip: Samsung Exynos 2600 is ready for mass production.According to a r
A US federal judge has ruled that Google can keep its Chrome browser, but it will be prohibited from
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
About us Contact us Product review car news thenatureplanet
More Form oMedia: AutoTimes. Bestcoffee. SL News. Jarebook. Coffee Hunters. Sundaily. Modezone. NNB. Coffee. Game News. FrontStreet. GGAMEN
© 2024 shulou.com SLNews company. All rights reserved.