I was using spring boot for my application.
I deployed the jar file using the command java -jar ...jarname.jar
.
it's working only when the command prompt or putty is open.
when I close the command prompt or putty and trying to access the service, I am getting the below exception.
Caused by: java.net.ConnectException: Connection refused: connect
Please let me know the issue.