SQL Server 2005 connection issue

SqlServer - related issues

SQL Server 2005 connection issue

Postby Russel » Tue Jul 19, 2011 11:50 am

Hello,

I just installed SQL Server 2005 and i am trying to connect using DbSchema, i always get the following error:

com.microsoft.sqlserver.jdbc.SQLServerException: The TCP/IP connection to the host localhost, port 1433 has failed. Error: "connect timed out. Verify the connection properties, check that an instance of SQL Server is running on the host and accepting TCP/IP connections at the port, and that no firewall is blocking TCP connections to the port.".


Thanks.
Russel
 
Posts: 2
Joined: Tue Jul 19, 2011 11:06 am
 

Re: SQL Server 2005 connection issue

Postby donose.mihai » Tue Jul 19, 2011 12:03 pm

Russel wrote:Hello,

I just installed SQL Server 2005 and i am trying to connect using DbSchema, i always get the following error:

com.microsoft.sqlserver.jdbc.SQLServerException: The TCP/IP connection to the host localhost, port 1433 has failed. Error: "connect timed out. Verify the connection properties, check that an instance of SQL Server is running on the host and accepting TCP/IP connections at the port, and that no firewall is blocking TCP connections to the port.".


Thanks.


Hi, Russel,

In the connection window you got a help button located in the bottom left, click it and it will display the help for the current connection (maybe it will help you).

Do the following:

Open Sql Service configuration manager go to Protocols for SQLEXPRESS and be sure that all the protocols are enabled.
If your server runs on the default port 1433 be sure to put manually all the TCP Dynamic Ports to 1433 and also the IP1 & IP2 to be set as Enable.
After that restart the services.Go to Sql Server 2005 Services and restart the SQL Server.

Hope it will solve your issue.
donose.mihai
 
Posts: 354
Joined: Thu Apr 07, 2011 11:05 am
 

Re: SQL Server 2005 connection issue

Postby Russel » Tue Jul 19, 2011 8:35 pm

donose.mihai wrote:
Russel wrote:Hello,

I just installed SQL Server 2005 and i am trying to connect using DbSchema, i always get the following error:

com.microsoft.sqlserver.jdbc.SQLServerException: The TCP/IP connection to the host localhost, port 1433 has failed. Error: "connect timed out. Verify the connection properties, check that an instance of SQL Server is running on the host and accepting TCP/IP connections at the port, and that no firewall is blocking TCP connections to the port.".


Thanks.


Hi, Russel,

In the connection window you got a help button located in the bottom left, click it and it will display the help for the current connection (maybe it will help you).

Do the following:

Open Sql Service configuration manager go to Protocols for SQLEXPRESS and be sure that all the protocols are enabled.
If your server runs on the default port 1433 be sure to put manually all the TCP Dynamic Ports to 1433 and also the IP1 & IP2 to be set as Enable.
After that restart the services.Go to Sql Server 2005 Services and restart the SQL Server.

Hope it will solve your issue.



Thanks!!! It worked like a charm! 8-)
Russel
 
Posts: 2
Joined: Tue Jul 19, 2011 11:06 am
 

Re: SQL Server 2005 connection issue

Postby flogger123 » Thu Mar 15, 2012 4:29 pm

Quick workaround. Does this issue happens a lot to users?
You're never a loser until you quit trying. Image
flogger123
 
Posts: 44
Joined: Mon Jan 23, 2012 5:25 pm
 

Return to Databases - SqlServer