Current location - Quotes Website - Collection of slogans - Port number 8080 is occupied. I shut down the Tomcat process by command at the command line terminal. How to solve the problem when the shutdown fails?
Port number 8080 is occupied. I shut down the Tomcat process by command at the command line terminal. How to solve the problem when the shutdown fails?
Error: Invalid parameter/option

It is obvious that the grammar you entered is wrong. Check your order. The taskkill command is used as follows:

1, use taskkill command.

1.taskkill /im process name

Example: use the taskkill/im tomcat7.exe command to close tomcat.

2.taskkill /pid[ process code] -t (end process) -f (forcibly end process and all subprocesses)

Note: There are two ways to check the PID code of the process:

1. Use the tasklist command on the command line to find out the PID code of the process.

2. Check the PID project in the view option of Task Manager.