数据库连接出现:TCP/IP network connections localhost, port of master 1433 has failed. Error: connection refused: connection. Please verify the connection properties and check a SQL server running on the host and examples of TCP/IP network connections in the port, and that no firewall TCP connection blocked.
如何解决请各位高手帮忙。

解决方案 »

  1.   

    端口问题,不过连sqlserver要打SP4补丁的
      

  2.   

    你有SP4的压缩包,发给我好吗。[email protected],谢谢了!
    这个跟网络服务配置没有关系吗?
      

  3.   

    样子是1433端口连接的问题,上面的报错信息说的很详细了,照说的检查机器吧端口问题,不过连sqlserver要打SP4补丁的
    看看你的1433端口开启吗?
      

  4.   

    样子是1433端口连接的问题,上面的报错信息说的很详细了,照说的检查机器吧端口问题,不过连sqlserver要打SP4补丁的
    看看你的1433端口开启吗?
      

  5.   

    命令:netstat /a /n    查看1433端口 
      

  6.   

    C:\Users\SXB>netstat -a -n 1433活动连接  协议  本地地址          外部地址        状态
      TCP    0.0.0.0:135            0.0.0.0:0
      TCP    0.0.0.0:445            0.0.0.0:0
      TCP    0.0.0.0:3306           0.0.0.0:0
      TCP    0.0.0.0:49152          0.0.0.0:0
      TCP    0.0.0.0:49153          0.0.0.0:0
      TCP    0.0.0.0:49154          0.0.0.0:0
      TCP    0.0.0.0:49155          0.0.0.0:0
      TCP    0.0.0.0:49158          0.0.0.0:0
      TCP    10.10.8.2:139          0.0.0.0:0
      TCP    10.10.8.2:49274        60.254.142.17:80
      TCP    10.10.8.2:50455        220.181.76.14:80
      TCP    10.10.8.2:51534        66.249.89.104:80
      TCP    10.10.8.2:51535        66.249.89.99:80
      TCP    10.10.8.2:51536        64.233.183.138:80
      TCP    10.10.8.2:51607        211.100.26.77:80
      TCP    10.10.8.2:51608        211.100.26.77:80
      TCP    10.10.8.2:51609        211.100.26.77:80
      TCP    10.10.8.2:51610        211.100.26.75:80
      TCP    10.10.8.2:51611        211.100.26.77:80
      TCP    10.10.8.2:51612        211.100.26.77:80
      TCP    10.10.8.2:51613        211.100.26.77:80
      TCP    10.10.8.2:51614        211.100.26.77:80
      TCP    10.10.8.2:51615        211.100.26.77:80
      TCP    10.10.8.2:51616        211.100.26.77:80
      TCP    10.10.8.2:51617        211.100.26.77:80
      TCP    10.10.8.2:51618        211.100.26.77:80
      TCP    10.10.8.2:51619        211.100.26.77:80
      TCP    10.10.8.2:51620        211.100.26.77:80
      TCP    10.10.8.2:51621        211.100.26.77:80
      TCP    10.10.8.2:51622        211.100.26.77:80
      TCP    10.10.8.2:51623        203.208.37.22:80
      TCP    10.10.8.2:51624        211.100.26.77:80
      TCP    10.10.8.2:51625        211.100.26.77:80
      TCP    10.10.8.2:51626        211.100.26.77:80
      TCP    10.10.8.2:51627        211.100.26.77:80
      TCP    10.10.8.2:51628        211.100.26.77:80
      TCP    10.10.8.2:51629        211.100.26.77:80
      TCP    10.10.8.2:51630        211.100.26.77:80
      TCP    10.10.8.2:51631        211.100.26.77:80
      TCP    10.10.8.2:51632        211.100.26.77:80
      TCP    10.10.8.2:51633        211.100.26.77:80
      TCP    10.10.8.2:51634        211.100.26.75:80
      TCP    10.10.8.2:51635        211.100.26.75:80
      TCP    10.10.8.2:51636        64.233.183.164:80
      TCP    10.10.8.2:51637        211.100.26.98:80
      TCP    10.10.8.2:51638        211.100.26.113:80
      TCP    10.10.8.2:51639        211.100.26.84:80
      TCP    10.10.8.2:51640        211.100.26.84:80
      TCP    10.10.8.2:51641        64.233.183.154:80
      TCP    10.10.8.2:51642        211.100.26.77:80
      TCP    10.10.8.2:51643        211.100.26.77:80
      TCP    10.10.8.2:51644        211.100.26.77:80
      TCP    10.10.8.2:51645        211.100.26.77:80
      TCP    10.10.8.2:51646        211.100.26.77:80
      TCP    10.10.8.2:51647        211.100.26.77:80
      TCP    10.10.8.2:51648        211.100.26.77:80
      TCP    10.10.8.2:51649        211.100.26.77:80
      TCP    10.10.8.2:51650        211.100.26.84:80
      TCP    10.10.8.2:51651        121.11.66.68:80
      TCP    10.10.8.2:51653        211.100.26.77:80
      TCP    10.10.8.2:51657        211.100.26.75:80
      TCP    10.10.8.2:51672        203.208.37.22:80
      TCP    10.10.8.2:51681        211.100.26.98:80
      TCP    10.10.8.2:51682        211.100.26.113:80
      TCP    10.10.8.2:51683        211.100.26.84:80
      TCP    10.10.8.2:51684        211.100.26.84:80
      TCP    10.10.8.2:51686        211.100.26.84:80
      TCP    10.10.8.2:51694        211.100.26.75:80
      TCP    10.10.8.2:51695        211.100.26.75:80
      TCP    10.10.8.2:51696        64.233.183.165:80
      TCP    10.10.8.2:51697        121.11.66.68:80
      TCP    10.10.8.2:51699        64.233.183.154:80
      TCP    192.168.56.1:139       0.0.0.0:0
      TCP    [::]:135               [::]:0
      TCP    [::]:445               [::]:0
      TCP    [::]:49152             [::]:0
      TCP    [::]:49153             [::]:0
      TCP    [::]:49154             [::]:0
      TCP    [::]:49155             [::]:0
      TCP    [::]:49158             [::]:0
      UDP    0.0.0.0:3600           *:*
      UDP    0.0.0.0:4000           *:*
      UDP    0.0.0.0:4001           *:*
      UDP    0.0.0.0:4002           *:*
      UDP    0.0.0.0:4003           *:*
      UDP    0.0.0.0:4004           *:*
      UDP    0.0.0.0:4005           *:*
      UDP    0.0.0.0:4006           *:*
      UDP    0.0.0.0:4007           *:*
      UDP    0.0.0.0:4008           *:*
      UDP    0.0.0.0:4009           *:*
      UDP    0.0.0.0:5355           *:*
      UDP    0.0.0.0:13630          *:*
      UDP    0.0.0.0:13882          *:*
      UDP    0.0.0.0:52375          *:*
      UDP    0.0.0.0:56671          *:*
      UDP    0.0.0.0:58226          *:*
      UDP    0.0.0.0:61376          *:*
      UDP    0.0.0.0:61377          *:*
      UDP    0.0.0.0:61378          *:*
      UDP    0.0.0.0:63377          *:*
      UDP    0.0.0.0:63399          *:*
      UDP    0.0.0.0:63400          *:*
      UDP    0.0.0.0:63429          *:*
      UDP    0.0.0.0:63431          *:*
      UDP    0.0.0.0:63432          *:*
      UDP    0.0.0.0:63434          *:*
      UDP    0.0.0.0:63435          *:*
      UDP    0.0.0.0:63436          *:*
      UDP    0.0.0.0:63437          *:*
      UDP    0.0.0.0:63629          *:*
      UDP    0.0.0.0:64160          *:*
      UDP    0.0.0.0:64161          *:*
      UDP    10.10.8.2:137          *:*
      UDP    10.10.8.2:138          *:*
      UDP    10.10.8.2:1900         *:*
      UDP    127.0.0.1:1900         *:*
      UDP    127.0.0.1:49496        *:*
      UDP    127.0.0.1:51742        *:*
      UDP    127.0.0.1:53706        *:*
      UDP    127.0.0.1:53742        *:*
      UDP    127.0.0.1:54278        *:*
      UDP    127.0.0.1:58809        *:*
      UDP    127.0.0.1:61318        *:*
      UDP    127.0.0.1:61431        *:*
      UDP    127.0.0.1:63628        *:*
      UDP    192.168.56.1:137       *:*
      UDP    192.168.56.1:138       *:*
      UDP    192.168.56.1:1900      *:*
      UDP    [::]:5355              *:*
      UDP    [::1]:1900             *:*
      UDP    [::1]:58808            *:*
      UDP    [fe80::85a2:54da:92ff:7f0a%16]:1900  *:*
      UDP    [fe80::b051:61fc:398a:ff8a%11]:546  *:*
      UDP    [fe80::b051:61fc:398a:ff8a%11]:1900  *:*
      

  7.   

    通过你的命令执行结果,你没有发现你的1433端口没有在用吗?可能是被你机器的防火墙给禁止了!或者你的sqlserver就没有正确启动!
      

  8.   

     TCP    0.0.0.0:1433           0.0.0.0:0              LISTENING
    有了,但还是报错
      

  9.   

    TCP/IP network connections localhost, port of master 1433 has failed. Error: connection refused: connection. Please verify the connection properties and check a SQL server running on the host and examples of TCP/IP network connections in the port, and that no firewall TCP connection blocked.
      

  10.   

    你是不是用windows7呀
    我在window7 的時候是要改為本地用戶才能用有1433端口的
    而且你啟動了端口了沒有?
      

  11.   

    嗯,win7,有启动了!纠结!