世界那么好,机会那么多

这里除了干货,什么都没有

Cannot assign requested address: JVM_Bind

tomcat启动总是出现Cannot assign requested address: JVM_Bind异常

解决方法:

将计算机的C:\Windows\System32\drivers\etc\hosts文件中发现如下部分内容:

# localhost name resolution is handled within DNS itself.
     127.0.0.1               localhost
     xx.xx.xx.xx      localhost

 

xx.xx.xx.xx 是一个不存在的本地IP地址,将hosts文件中的第二行内容xx.xx.xx.xx  localhost去掉后,再次启动TOMCAT,成功运行
posted @ 2020-01-13 10:41  面向对象爱好者社区  阅读(1137)  评论(0编辑  收藏  举报