actuator/shutdown not killing Java process

Viewed 44

Recently I have upgraded spring boot version to 2.6.7 from 2.3.11 Release

I am using management.server.port as 8080 when call curl post https://localhost:8080/actuator/shutdown then my application stopped but still Java PID running why?

1 Answers

What port is the PID listening on?

Perhaps its a Java process that is not related to the Spring Boot application.

To view process id and ports assigned to it this command should do the trick if using Linux

lsof -i -P -n | grep LISTEN

Do you still see 8080 (LISTEN) ?

Related