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,成功运行


免责声明!

本站转载的文章为个人学习借鉴使用,本站对版权不负任何法律责任。如果侵犯了您的隐私权益,请联系本站邮箱yoyou2525@163.com删除。



 
粤ICP备18138465号  © 2018-2025 CODEPRJ.COM