关于myecplise5.5联接MS SQL Server2005(提示TCP/IP错误)

来源:互联网 发布:用友软件有哪些版本 编辑:程序博客网 时间:2024/06/04 10:07

这个问题在一段时间内,曾经把我逼疯.

不过还老天不负有心人,经过多次的折腾终于解决。

其实很简单就只是一个端口的问题上,,

大家注意更改一下数据库默认的登录端口就可以。

 

Error while trying to login to database; the TCP/IP connection to the hose has failed.

 java.net.ConnectExeception: Connection refused: connect