Cannot Connect To SQL Server using IP Addresses

Cannot Connect To SQL Server using IP Addresses

Post by Bianca Bloun » Fri, 05 Jan 2001 01:37:57



SQL Server 2000 Enterprise
Windows 2000 Advanced Server sp1

We set up MSCS on our Win2k machine with three network cards (internal,
external, heartbeat).  We then installed SQL Server 2000 to use an i.p.
address on the same subnet as the internal nic.  We can only connect to the
machine using the SQL Server Name (ie. DBServer) internal and external I.P.
Addresses do not work (192.x.x.x or 64.x.x.x).  Whenever I attempt to
connect using an I.P. Address I receive the following error message...

Connection Failed:
SQL State: '01000'
SQL Server Error: 10061
[Microsoft][ODBC SQL Server Driver][TCP/IP Sockets] ConnectionOpen
(Connect()).
Connection Failed:
SQL State:'08001'
SQL Server Error: 17
[Microsoft][ODBC SQL Server Driver][TCP/IP Sockets]
SQL Server does not exist or access is denied.

We followed all the installation directions we could compile (Step-by-Step
Cluster Installation, Duwamish Cluster Example, SQL BOL, SQL Server
Administration Companion) and checked the Microsoft Searchable KnowledgeBase
for this error but, we can't seem to find anything we could have missed.

Is there a configuration setting missing here?

Thanks,
Bianca

 
 
 

Cannot Connect To SQL Server using IP Addresses

Post by Richard Waymir » Fri, 05 Jan 2001 02:26:59


What's the IP address/subnet mask of the SQL IP Address resource, and what's
the IP address/subnet masks of the IP addresses configured in MSCS?  Is
there more than one address in the SQL Server resource group?

--
Richard Waymire, MCSE, MCDBA

Quote:> SQL Server 2000 Enterprise
> Windows 2000 Advanced Server sp1

> We set up MSCS on our Win2k machine with three network cards (internal,
> external, heartbeat).  We then installed SQL Server 2000 to use an i.p.
> address on the same subnet as the internal nic.  We can only connect to
the
> machine using the SQL Server Name (ie. DBServer) internal and external
I.P.
> Addresses do not work (192.x.x.x or 64.x.x.x).  Whenever I attempt to
> connect using an I.P. Address I receive the following error message...

> Connection Failed:
> SQL State: '01000'
> SQL Server Error: 10061
> [Microsoft][ODBC SQL Server Driver][TCP/IP Sockets] ConnectionOpen
> (Connect()).
> Connection Failed:
> SQL State:'08001'
> SQL Server Error: 17
> [Microsoft][ODBC SQL Server Driver][TCP/IP Sockets]
> SQL Server does not exist or access is denied.

> We followed all the installation directions we could compile (Step-by-Step
> Cluster Installation, Duwamish Cluster Example, SQL BOL, SQL Server
> Administration Companion) and checked the Microsoft Searchable
KnowledgeBase
> for this error but, we can't seem to find anything we could have missed.

> Is there a configuration setting missing here?

> Thanks,
> Bianca


 
 
 

Cannot Connect To SQL Server using IP Addresses

Post by Bianca Bloun » Fri, 05 Jan 2001 02:57:04


After doing some more research, I found a solution in KnowledgeBase Article
Q244980

-Bianca

 
 
 

1. unable to connect to SQL server using IP address

Hi

I try to connect to Sql Server 2000 EE using DTS wizard (SQL server is
installed on the local machine).

If I enter "<ip address>\Accounting" as a server name it will say "Access
denied or server does not exist". However, if I use the server name instead
of ip address ("DBServer\Accounting")
it will connect.

Ip address as server name worked several days ago, but now it does not.
Yesterday, I run Windows Update and install SP2 for SQL server. Maybe the
mentioned problem is caused by those updates?

Thanks in advance
Sergey

2. Ace Reports & Lock Errors

3. using an IP address to connect from remote SQL Server

4. bc[ on NT, row terminator

5. Connect to SQL Server using it's IP address

6. Conditional value list possible?

7. Help connecting to SQL Server using DNS hostname/IP address

8. row reference

9. How to connect to remote OLAP server using server's IP address

10. Cannot connect to SQL Server using tcp/ip

11. Cannot connect to ORACLE after changing IP address

12. Connecting to a SQL Server via an IP address

13. Connecting to a SQL server by IP Address that is behind a firewall