Error 26 means the SQL Server client cannot find the requested server or named instance because of incorrect connection details, disabled protocols, or blocked ports.
SQL Network Interfaces Error 26 appears when a client cannot locate the SQL Server or named instance. Check the server/instance name, enable TCP and UDP 1434, start SQL Browser, and correct your connection string to remove the error.
A network-related or instance-specific error occurred while establishing a connection to SQL Server. Error 26 – Error Locating Server/Instance Specified.
Error 26 is raised by the SQL Browser component when a client library (SqlClient, ODBC, JDBC) cannot resolve the server or named instance in the connection string. The client sends a UDP packet to port 1434; if the browser or server does not respond, the connection fails.
The error is purely connection-level and occurs before authentication, so no SQL statements reach the server.
Fixing it is essential because user applications remain offline until connectivity is restored.
Incorrect server or instance name prevents SQL Browser from matching the request, resulting in Error 26.
Typos, missing “\\” separators, or omitted instance names are frequent triggers.
Disabled or firewalled UDP 1434 blocks SQL Browser traffic, so the client never learns the port number of the named instance.
SQL Browser service stopped or misconfigured cannot reply to discovery requests, leading the client library to raise Error 26.
Disabled TCP/IP or Shared Memory protocols inside SQL Server Configuration Manager make the instance unreachable even when the name is correct.
Verify the connection string first.
Use the exact server name shown in SELECT @@SERVERNAME
and include the instance (e.g., SERVERNAME\\DEV01
).
Start the SQL Browser service from SQL Server Configuration Manager and set its startup type to Automatic so discovery packets are answered consistently.
Enable TCP/IP and UDP protocols for the instance, and open TCP 1433 and UDP 1434 in the Windows Firewall or network security groups.
For default instances, use only the server host name with port 1433 to bypass SQL Browser completely.
Local development laptops often disable SQL Browser.
Enabling the service or switching to (local)\SQLEXPRESS
fixes the issue quickly.
Cloud VMs running SQL Server behind a load balancer drop UDP. Configure an inbound rule for UDP 1434 or specify the port number explicitly in the connection string: tcp:myserver.database.windows.net,1433
.
Docker containers expose SQL Server on a non-standard port.
Map the container port to the host and reference it: tcp:localhost,15789
.
Always provide explicit port numbers in production connection strings to remove dependency on SQL Browser discovery.
Use Galaxy’s connection manager to store validated connection profiles.
The editor warns you of unreachable hosts before you run queries, reducing downtime.
Automate health checks that test UDP 1434 and TCP 1433 reachability after firewall changes or VM redeployments.
Error 40 – Could not open a connection follows Error 26 when the browser responds but the TCP port is blocked. Opening port 1433 or enabling TCP fixes both.
Error 18456 – Login failed appears after Error 26 is cleared and authentication fails. Verify credentials and server logins.
.
No. It only indicates the client cannot locate the server or instance. The server may be running but unreachable.
You can bypass SQL Browser by using the default instance on port 1433 or by specifying the port number directly.
Yes. Most fixes involve updating the connection string, enabling protocols, or starting SQL Browser—no restart required.
Galaxy stores verified connection profiles and alerts you immediately if the target host or port is unreachable before query execution.