-1

enter image description hereThe application failed to run Because the port is in use. I don't know which port to close to run the application.

Md Nuhel
  • 75
  • 1
  • 6
  • Does this answer your question? [How do I kill the process currently using a port on localhost in Windows?](https://stackoverflow.com/questions/39632667/how-do-i-kill-the-process-currently-using-a-port-on-localhost-in-windows) – Noah May Apr 18 '21 at 04:03

1 Answers1

0

It seems that there uis another application running on that port, so you can stop it and run your application or change your application port.

in application.yml

server:
   port: 8081

or application.properties

server.port= 8081
zahid med
  • 61
  • 5
  • Thanks for the help Zahid. But I wanted to run the application to run on port 8080. I terminated the run and removed all terminated runs. Then I ran the application again and it worked. – Md Nuhel Apr 17 '21 at 22:48