I have configured my system to connect to the SQL Server 2008, I am running under windows server 2008, and I made the following:-
-
Enable TCP/IPon my SQL Server.
-
Activate and enable the 192.168.1.20 for the SQL Server.
-
Add two inbounds rules for the 1433 post on the firewall and the sqlserver.exe.
But when I tried to connect the database I got the following error:-
The TCP/IP connection to the host 192.168.1.20, 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.”.
When I typed the following:
telnet 192.168.1.20
it gave me
Connecting To 192.168.1.20...Could not open connection to the host, on port 23:
Connect failed
So what might be the problem?
the telnet command is wrong, try
You didn’t mention about outbound rules. You need to add the inbound + outbound rules on your machine (in the firewall) and on SqlServer machine.