Get the App
SLTechnology News&Howtos  ›  Development  › 

How to view system network connection open port, system process, DOS open file

Shulou Source: shulou.com Published: 2022-06-03 06:56:56 11月15日 Update

This article introduces the relevant knowledge of "how to view system network connection open port, system process, DOS open file". In the operation of actual cases, many people will encounter such a dilemma, so let the editor lead you to learn how to deal with these situations. I hope you can read it carefully and be able to achieve something!

Problem description:

DOS view system network connections open ports, open services

Problem solving:

(1) DOS view the network connection of the system and open the port

Note:

Using the netstat command, you can view the ports opened by the system

(2) View and close the system open process

Note:

Use the taskkill / pid / F port number to shut down the port of a specified PID

Note:

Use tasklist to view all PID

(3) DOS opens the file

Note:

As shown in the image above, disk D can be opened directly by using the command start D: under DOS

(4) Open Tomcat service under DOS

Note:

Enter D disk under DOS. Note that the cd command is not used to switch disks. Cd is used to switch directories, and disk letters are directly used to switch disks:

Note:

Go to the bin directory in the tomcat installation directory and use the startup.bat command directly to start tomcat

Note:

You can start tomcat normally by using the command startup.bat

This is the end of the content of "how to view system network connection open port, system process, DOS open file". Thank you for reading. If you want to know more about the industry, you can follow the website, the editor will output more high-quality practical articles for you!

Tags: System port command network file process directory disk switch content more knowledge problem service practical successful learning next picture above slogan dilemma Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno Shulou Tech Info macOS Redmi MySQL Docker