在tomcat server.xml配置文件中,有个配置项

<Server port="8005" shutdown="SHUTDOWN">

通过向8005端口发送 SHUTDOWN字符可以关闭tomcat

1. 启动tomcat

2. telnet到 8005 进入控制台:telnet localhost 8005, 输入SHUTDOWN即可关闭tomcat

相关文章:

  • 2022-12-23
  • 2021-11-21
  • 2021-12-01
  • 2022-02-14
  • 2022-01-21
  • 2022-01-31
  • 2022-01-21
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2022-01-24
  • 2021-11-13
  • 2021-11-19
  • 2021-11-22
  • 2021-11-21
  • 2021-05-16
相关资源
相似解决方案