启动JRebel报错 Unable to ping server at localhost:1099

来源:互联网 发布:淘宝网实拍保护 编辑:程序博客网 时间:2024/04/30 09:41

查阅了网上的一些资料如:https://stackoverflow.com/questions/19068977/intellij-cant-start-simple-web-application-unable-to-ping-server-at-localhost

由于Tomcat默认关闭JMX功能,但JRebel需要jmx,所以导致jmx没启动,所以1099端口ping不通

解决方法:

1、将127.0.0.1 localhost 你的计算机名添加到hosts文件中(我的是Windows系统,路径为C:\Windows\System32\drivers\etc):举个栗子,假设我的计算机名为mayun,则需要添加一行:

127.0.0.1 localhost mayun

重启一下电脑,OK

2 开启jmx,网上有教程,但是我还没试验过。。。


阅读全文
0 0
原创粉丝点击