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

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2021-08-14
  • 2022-12-23
  • 2022-12-23
  • 2021-04-29
  • 2021-10-13
  • 2022-01-04
猜你喜欢
  • 2021-08-02
  • 2021-12-21
  • 2021-11-17
  • 2022-12-23
  • 2022-12-23
  • 2021-05-19
  • 2022-12-23
相关资源
相似解决方案