When we use eclipse or myeclipse software to do projects, we often encounter such and such problems at the beginning, which makes our head big, such as port occupation is one of them. draw
Step reading
2
Click the start program in the lower left corner of the computer or press the shortcut key Ctrl+R to enter the running interface, as shown in the figure.
Then you can see the running interface window: as shown in the figure.
Step reading
Step reading
three
Then enter the cmd command in the running interface, as shown in the figure.
This will take you to the Dos window, as shown in the figure.
Step reading
Step reading
four
Then if the occupied port number is "8080" (the default port number of Tomcat), we need to enter the command: netstat in the Dos interface. -aon|findstr? [8080]: As shown in the figure.
Step reading
five
After entering the command, we can see the following effects: as shown in the figure.
So we got the process number "3256"!
Step reading
six
After getting the process number, we enter tasklist|findstr? "3256" command, and then get the process image name javaw.exe: as shown.
Step reading
seven
This step can solve the problem! There are many ways to open the Task Manager.
The shortcut key Ctrl+Alt+Delete finds the javaw.exe process and kills it, as shown in the figure.
Step reading
end