View System network connection open port, system process, DOS Open File

Source: Internet
Author: User

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.

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.