Open fengxianhua126 opened 6 years ago
我用的eclipse,不是idea。控制台报错是 java.net.SocketTimeoutException: connect timed out at java.net.DualStackPlainSocketImpl.waitForConnect(Native Method) ~[na:1.8.0_121] at java.net.DualStackPlainSocketImpl.socketConnect(Unknown Source) ~[na:1.8.0_121] at java.net.AbstractPlainSocketImpl.doConnect(Unknown Source) ~[na:1.8.0_121] ..................... 其中三个文件(pom.xml ConfigServerApplication.java application.properties)都是直接从https://github.com/forezp/SpringCloudLearning/tree/master/chapter6/config-server拖过来的,运行起来也没报错。但是访问就报错。
我用的eclipse,不是idea。控制台报错是 java.net.SocketTimeoutException: connect timed out at java.net.DualStackPlainSocketImpl.waitForConnect(Native Method) ~[na:1.8.0_121] at java.net.DualStackPlainSocketImpl.socketConnect(Unknown Source) ~[na:1.8.0_121] at java.net.AbstractPlainSocketImpl.doConnect(Unknown Source) ~[na:1.8.0_121] ..................... 其中三个文件(pom.xml ConfigServerApplication.java application.properties)都是直接从https://github.com/forezp/SpringCloudLearning/tree/master/chapter6/config-server拖过来的,运行起来也没报错。但是访问就报错。