There is a very mysterious problem: P
I have a server configured with a static IP address. I installed SQL Server 2008 R2 with an additional instance (ITAPP). Now that I am using IP to access SQL Server, follow these steps:
Client machine:
sqlcmd -S XXX.XXX.XXX.XXX -U sa -P mypass
Connected successfully ....
But when I use:
sqlcmd -S XXX.XXX.XXX.XXX\ITAPP -U sa -P mypass
HResult 0xFFFFFFFF, Level 16, State 1 SQL Network Interfaces: Error Locating Server / Instance [xFFFFFFFF].
Sqlcmd: Error: Microsoft SQL Native Client: An error occurred while establishing a connection to the server.
When connecting to SQL Server 2005, this failure may be caused by the fact that, by default, SQL Server does not allow remote connections.
Sqlcmd: Error: Microsoft SQL Native Client: Login timed out.
Even on the same computer (where SQL Server is installed) using SQL Server Management Studio. I turned off my firewall on both machines, even allowed all protocols for ITAPP (shared memory, named pipes, TCP / IP), also set Allow Remote connection
to true.
Another thing, when I use 127.0.0.1\SQLITRAX
to connect on the server machine, it connects immediately.
Please help me in this mess :)