SpringBoot Startup Error: Failed to start component [Connector[HTTP/1.1-8080]]

Failed to start component [Connector[HTTP/1.1-8080]]

The following error is reported when starting springboot:

Failed to start component [Connector[HTTP/1.1-8080

protocol handler start failed

Solution:
It is the port number occupation problem:
just close the occupied 8080 port number, enter in cmd: netstat -aon|findstr “port number”, find the PID corresponding to 8080 (port number), and then open the task manager. Find the corresponding PID in “Details” and stop the task.

Read More: