1 关闭linux下防火墙,不然远程客户机可能无法连接上该tomcat,注意不直接关闭防火墙,而是将远程客户机与端口添加到防火墙上,关闭主要是最简单。
service iptables stop
2 启动tomcat 命令行下运行:./catalina.sh jpda start

3 启动eclipse,选择 run->open debug dialog,在弹出的对话框中,双击Remote JAVA Application新建一个remote java application 如下图所示:

调试远程tomcat服务器

相关文章:

  • 2021-08-06
  • 2021-07-21
  • 2021-11-08
  • 2021-07-25
  • 2021-09-15
  • 2022-12-23
  • 2021-05-18
  • 2021-05-11
猜你喜欢
  • 2021-11-26
  • 2021-12-22
  • 2021-09-24
  • 2021-05-10
  • 2021-12-30
  • 2021-09-30
  • 2022-01-18
相关资源
相似解决方案