error while performing database login with the sql server 2005 driver:the tcp/ip connection to the host has failed java.net.connectExcep0tion:Connection refused: connect是什么问题,怎么解决 谢谢了啊
调试欢乐多
1.驱动
2. the tcp/ip connection to the host has failed
是你的防火墙阻挡了
弄我好久
jdbc:sqlserver://localhost:1197;databaseName=UserLogin
1197是动态端口
你太强大了,别人知道也不告诉,而你却是很有耐心地说了又说。而人家连句感谢的话都没有,只知道问,或者有的人看到你的答案,自己试着管用,一边偷着乐去了,气氛太不好了,要是人人都像你这样该多好啊。