你可建立一个DNS(通过odbc)
在DNS中使用ip地址应该没问题

解决方案 »

  1.   

    看看sConnect在DEBUG时SERVER=的内容是对的吗?
      

  2.   

    sConnect DEBUG 值正常
    to joyu:
    DSN是吧,DSN中使用一样不行
    我现在这样不用建数据源,还有:
    我连202.96.XXX.XXX 就能连上,一点没问题Client配置:
    按顺序启用协议:tcp/ip, named pipe
      

  3.   

    C:\>ping www.csdn.netPinging www.csdn.net [211.157.102.21] with 32 bytes of data:Reply from 211.157.102.21: bytes=32 time=16ms TTL=114
    Reply from 211.157.102.21: bytes=32 time=16ms TTL=114
    Reply from 211.157.102.21: bytes=32 time<10ms TTL=114
    Reply from 211.157.102.21: bytes=32 time<10ms TTL=114Ping statistics for 211.157.102.21:
        Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
    Approximate round trip times in milli-seconds:
        Minimum = 0ms, Maximum =  16ms, Average =  8msC:\>为什么这么慢
    '为什么这么慢' 不是内部或外部命令,也不是可运行的程序
    或批处理文件。C:\>