I used Clojure to start a jetty server on port 3000. Since then I have closed the command prompt.
Is there a way to view and stop the jetty server using Windows commands?
There's 2 recommended ways.
If you started Jetty with the STOP.KEY
and STOP.PORT
command line , then you can use those same values with the --stop
command line option.
If you installed, configured, and then started Jetty as a service , then you can use the windows service utilities to start/stop/restart Jetty.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.