[英]How to stop jetty server on Windows 7?
I used Clojure to start a jetty server on port 3000. Since then I have closed the command prompt. 我使用Clojure在端口3000上启动码头服务器。此后,我关闭了命令提示符。
Is there a way to view and stop the jetty server using Windows commands? 是否可以使用Windows命令查看和停止码头服务器?
There's 2 recommended ways. 有2种推荐方法。
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. 如果使用
STOP.KEY
和STOP.PORT
命令行启动Jetty ,则可以将这些相同的值与--stop
命令行选项一起使用。
If you installed, configured, and then started Jetty as a service , then you can use the windows service utilities to start/stop/restart Jetty. 如果您安装,配置并随后将Jetty作为服务启动,则可以使用Windows服务实用程序来启动/停止/重新启动Jetty。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.