SQL Server 2000 Error records and Solutions

Source: Internet
Author: User

Exception in thread "Main" com. microsoft. sqlserver. JDBC. sqlserverexception: The TCP/IP connection to the host xx.111.134.54, port 1433 has failed. error: Connection timed out: connect. please verify the Connection Properties and check that a SQL server instance
Is running on the host and accepting TCP/IP connections at the port, and that no firewall is blocking TCP connections to the port.
At com. Microsoft. sqlserver. JDBC. sqlserverexception. makefromdrivererror (sqlserverexception. Java: 130)
At com. Microsoft. sqlserver. JDBC. sqlserverconnection. connecthelper (sqlserverconnection. Java: 1195)
At com. Microsoft. sqlserver. JDBC. sqlserverconnection. loginwithoutfailover (sqlserverconnection. Java: 1054)
At com. Microsoft. sqlserver. JDBC. sqlserverconnection. Connect (sqlserverconnection. Java: 758)
At com. Microsoft. sqlserver. JDBC. sqlserverdriver. Connect (sqlserverdriver. Java: 842)
At java. SQL. drivermanager. getconnection (drivermanager. Java: 582)
At java. SQL. drivermanager. getconnection (drivermanager. Java: 185)
At gov. Well. util. sqlserver. Test. Main (test. Java: 18)

Solution 1: Disable the Firewall

Solution 2: Exceptions added to the firewall, TCP 1433

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.