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