最后证明是防火墙的原因。
参考下面的资料。
If u are getting: SQL30081N Protocol specific error code(s): "10065", "*", "*". SQLSTATE=08001
If you are using Linux server , turn off your firewall service & check if you can connect to database remotely through
client
to stop firewall type this command on bash : $ etc/init.d/iptables stop
If now you can connect remotely thru client then
turn OFF firewall service from all run levels
before that check
$ chkconfig --list iptables
if they are ON @ runlevels 2,3,4,5 then
$ chkconfig --levels 2345 iptables off
Regards.
该贴由system转至本版2014-9-18 8:28:10