Problem description:
DOS: view the services opened by the system's network connection
Solution:
(1) DOS Viewing System network connection opening port
Note:
Run the netstat command to view the opened ports.
(2) view and close the process opened by the System
Note:
Taskkill/pid/F port can be used to close the port of the specified PID
Note:
Tasklist can be used to view all PIDs.
(3) open a file through DOS
Note:
As shown in, use the start D command in DOS to directly open the D disk.
(4) Open the Tomcat service under DOS
Note:
Enter disk D under DOS. Note that the cd command is not used to switch the disk. The cd command is used to switch the directory. the disk character is used to switch the disk:
Note:
Go to the bin directory in the tomcat installation directory and run the startup. bat command to start tomcat.
Note:
Run startup. bat to start tomcat normally.