IO 错误: The Network Adapter could not establish the connection

换了新电脑,代码移动,项目的基本的配置都弄了,但是启动还是报错,v*n内外网也链接了,还是报错,redis相关

IO 错误: The Network Adapter could not establish the connection

最后竟然是少了个参数:在这个路径上加:

-Djava.net.preferIPv4Stack=true

 

IO 错误: The Network Adapter could not establish the connection

 

完美解决