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

Source: Internet
Author: User
Tags port number tomcat
This article mainly introduces how to view the system network connection open port, open service and so on in DOS

Problem Description:

DOS View system network connection open port, open service

Problem solving:

(1) DOS View system network connection open port

Note:

Using the netstat command, you can view the ports that the system opens

(2) View and close the system open process

Note:

Use the taskkill/pid/f port number to turn off the ports for the specified PID

Note:

Use tasklist to view all PID

(3) DOS open file

Note:

As shown in the figure above, use command start D in DOS: command to open D disk directly

(4) Open Tomcat service under DOS

Note:

DOS into D disk, note that the switch disk is not the use of CD command, CD to switch directories, the switch disk directly using the disk characters:

Note:

Go to the Bin directory in the Tomcat installation directory and use the Startup.bat command directly to start Tomcat

Note:

Use command 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.