V2EX = way to explore
V2EX 是一个关于分享和探索的地方
Sign Up Now
For Existing Member  Sign In
wickila
V2EX  ›  问与答

服务器开了 iptable 以后.mysql 能直接连接上.但是 jdbc 就连接不上.很诡异

  •  
  •   wickila · Aug 19, 2014 · 2874 views
    This topic created in 4282 days ago, the information mentioned may be changed or developed.
    我们有一台db服务器.把iptable关闭以后.jdbc可以正常连接.
    但是配置了防火墙以后,mysql客户端用"mysql -u -p -h "是可以正常连接的,telnet:3306端口也是正常的.jdbc的连接却连接不上.
    报错信息:The last packet sent successfully to the server was 0 milliseconds ago. The driver has not received any packets from the server.
    有没有遇到过这种问题的兄弟,帮忙答疑解惑一下.
    No Comments Yet
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   1671 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 25ms · UTC 16:20 · PVG 00:20 · LAX 09:20 · JFK 12:20
    ♥ Do have faith in what you're doing.