First, find out what is the process number PID occupying port 8080, CMD & gtNetstatano|findstr8080. The last column of this command output indicates the process number occupying port 8080, assuming it is 1234, kill this process cmd >;; Taskkilfpid1234, so port 8080 is released.