DBeaver 连接 DB2 提示 Exception java.net.ConnectException: Error openning socket to server ... ERRORCODE=-4499 SQLSTATE=08001

分析思路

查看网络端口

netstat -tunlp

(B) Port conflict

Use netstat command to determine if there is another program listening on the port used by DB2.

Try changing DB2 port to a different port number

db2 "update dbm cfg using svcename 60000"
db2stop
db2start

posted @ 2023-05-05 15:27  ~博客~  阅读(321)  评论(0)    收藏  举报