数据连接IP失败,连接本地localhost是成功的

image.png

FineBI 用户xcNc49504216 发布于 2021-10-15 11:12
1min目标场景问卷 立即参与
回答问题
悬赏:4 F币 + 添加悬赏
提示:增加悬赏、完善问题、追问等操作,可使您的问题被置顶,并向所有关注者发送通知
共1回答
最佳回答
0
zsh331Lv8专家互助
发布于2021-10-15 11:30

——这个地址是内网地址吧,本地主机能正常访问吗?防火墙是否存在限制等;-- 找网管确认下吧…

image.png

  • 用户xcNc49504216 用户xcNc49504216(提问者) 主机可以正常访问
    2021-10-15 13:39 
  • zsh331 zsh331 回复 用户xcNc49504216(提问者) 但日志反馈-确实显示不允许连接~
    2021-10-15 13:59 
  • 用户xcNc49504216 用户xcNc49504216(提问者) 回复 zsh331 com.mysql.jdbc.exceptions.jdbc4.CommunicationsException: Communications link failure The last packet sent successfully to the server was 0 milliseconds ago. The driver has not received any packets from the server. 现在报错内容是这个了
    2021-10-15 16:49 
  • zsh331 zsh331 回复 用户xcNc49504216(提问者) 数据库服务,重启下再连接。。。
    2021-10-15 17:20 
  • 2关注人数
  • 288浏览人数
  • 最后回答于:2021-10-15 11:30
    请选择关闭问题的原因
    确定 取消
    返回顶部