我的sql server起来了,我都可以通过jdbc-odbc桥连接数据库了,但我刚才用端口扫描工具扫描了一下,居然发现我的1433端口没开,这是怎么回事啊?

解决方案 »

  1.   

    sounds weird, are you behind a firewall? if yes, turn it off
      

  2.   

    我是装了天网防火墙,但我把他卸载了,重起机器后,还是发现这个端口没开。但我用jdbc-odbc是可以访问数据库的,这是怎么回事情呢?
      

  3.   

    run SQL Server Network Utility, make sure TCP/IP is among enabled protocols, and in its Properties dialog, specify the port number and uncheck Hide Server
      

  4.   

    saucer(思归):
    前面跟你说的一样 specify the port number 也是1433
    and uncheck Hide Server  这句话没听懂在另一个帖子里面,你教我用netstat -an 看我看了确实看不见1433端口在listening
      

  5.   

    在那个属性对话框里,有个复选框,叫隐藏服务器(Hide Server),你要把勾去掉
      

  6.   

    我是装在win2000 professional 在那个属性对话框里,没有这个复选框只有个我填默认端口的编辑框,我填了1433
      

  7.   

    Richuen22(丙爷OnLine):
    还没好,你还是干预一下吧
      

  8.   

    saucer(思归):
    我确实把那个隐藏服务器的勾去掉了,但还是不行,我是不是真得重装sql server 了?
      

  9.   

    saucer(思归):
    分还是全归你了,我现在把端口号改掉,不用1433这个端口,改成别的端口,
    就好用了,奇怪啊,奇怪啊
      

  10.   

    thanks, :-)sounds really weird, can you try to reboot the machine, change it back to port 1433 and reboot the machine and see what happens?
      

  11.   

    I try to reboot the machine, change it back to port 1433 and reboot the machine and see it is OK now!!! It is really weird