houko / SpringBootUnity

rabbitmq、redis、scheduled、socket、mongodb、Swagger2、spring data jpa、Thymeleaf、freemarker etc. (muti module spring boot project) (with spring boot framework,different bussiness scence with different technology。)

Home Page:http://xiaomo1992.github.io/SpringBootUnity/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

配置后启动总是找不到IP

ywx332713 opened this issue · comments

Caused by: java.net.UnknownHostException: ip
at java.net.InetAddress.getAllByName0(InetAddress.java:1280)
at java.net.InetAddress.getAllByName(InetAddress.java:1192)
at java.net.InetAddress.getAllByName(InetAddress.java:1126)
at com.mysql.jdbc.StandardSocketFactory.connect(StandardSocketFactory.java:188)
at com.mysql.jdbc.MysqlIO.(MysqlIO.java:298)
... 57 common frames omitted
Disconnected from the target VM, address: '127.0.0.1:50286', transport: 'socket'

已解决 :windows 系统中C:\Windows\System32\drivers\etc 的HOSTS文件中添加127.0.0.1 ip