Correct way of stopping Lagom application


I want to know how to stop a running lagom application(in IntelliJ or from cmd) so that it frees up the used ports.

Currently I do ctrl+c which kills the application but ports are not freed up and it makes restarting a bit difficult.

@mghildiy ENTER will gracefully stop it

1 Like