0

I have my spring boot web service program, I use winsw to wrap it into windows service to my server.

However something is strange, deployment was fine (installed it using my account which have admin access) at day 1, and I can see all the log for my web service transaction. But once on day 2, in service.msc window (running by administrate mode, and my account have admin access), the status for my web service was not running and if I try to start it again it failed due to org.springframework.boot.web.server.PortInUseException: Port 443 is already in use (Yes, my web service is using port 443).

But my web service was running fine, all the transaction that return response, exccept I cannot see any logs that suppose written into the file. That makes me every day that if I want to see the logs or deployment the new version to the server, first I need to use netstat -a -o to find the PID for my process, then use taskkill /PID [PID] /F to kill the process then I can do my new version deployment or run the transaction again to see today's log.

Is it something I forgot to configuration?

Vincent Zheng
  • 385
  • 1
  • 4
  • 19

0 Answers0