groovy - how to restart a grails web application -
How can I restart a grails application instead of turning it off by ctrl z and turning it on again
When I do it in this way
Error server failed to start for port 8080: address already in use
CTRL - Z does not close an application , Sends it to suspend ... those still in suspended processes There are connections to resources (ports, files, etc.), so that you can not stop another instance on the same port at the same port. To bring it back, you can use Fg in the same shell (or, if you want it, you can use bg ) < / P> To turn it off, you need CTRL - C (or you can kill it because Nicodes says in the comment)
Comments
Post a Comment