SQL Network Interfaces, Error 26 – Error Locating Server/Instance Specified

Common SQL Errors

Connection

The client cannot locate the requested SQL Server instance on the network, so the connection fails.

Microsoft SQL Server
Sign up for the latest in common SQL errors from the Galaxy Team!
Thank you! Your submission has been received!
Oops! Something went wrong while submitting the form.

What is SQL Network Interfaces error 26?

SQL Network Interfaces Error 26 appears when a SQL Server client cannot find the specified server or named instance. Enable SQL Browser, open UDP 1434 and TCP 1433 in firewalls, verify the connection string, and ensure the server allows remote connections to resolve the issue.

Typical Error Message

provider: SQL Network Interfaces, error: 26 – Error Locating Server/Instance Specified

Explanation

What is SQL Network Interfaces error 26?Error 26 occurs when a client tries to connect to SQL Server but cannot locate the target server or named instance through the network discovery process.SQL Browser or UDP 1434 normally returns the TCP port for the instance. If that handshake fails, the driver shows error 26 and aborts the login.

What Causes This Error?

Disabled SQL Browser prevents the client from learning the instance port, immediately triggering error 26.Firewalls blocking UDP 1434 or the instance’s TCP port break the discovery packet, so the client cannot locate the server.Wrong server or instance name in the connection string points the driver to a non-existent host, producing error 26.Remote connections disabled or TCP/IP protocol turned off rejects requests even if the name resolves, resulting in the same error.

How to Fix SQL Network Interfaces error 26

Start SQL Browser and set its startup type to Automatic, then retry the connection.Open UDP 1434 and the instance’s TCP port (default 1433) in Windows Firewall or any network firewall.Verify the connection string: use Server=HOSTNAME\INSTANCENAME or Server=HOST,PORT for a default instance.Enable TCP/IP under SQL Server Configuration Manager > Network Configuration > Protocols and restart the service.

Common Scenarios and Solutions

Connecting from another subnet often fails because routers block UDP 1434; use a fixed port in the connection string to bypass discovery.Azure or AWS VMs need inbound rules for UDP 1434 and the SQL port; update NSG or security group to permit traffic.Local named pipes disabled on the client forces TCP; ensure TCP/IP is enabled on both client and server.

Best Practices to Avoid This Error

Assign static TCP ports to all named instances and specify the port directly in connection strings to skip SQL Browser.Automate firewall rule creation with infrastructure-as-code so deployment always opens required SQL ports.Monitor SQL Browser service health with your observability stack to catch unexpected stops.

Related Errors and Solutions

Error 40 indicates the server was found but the TCP connection failed; check firewalls and SQL Server status.Error 53 means the network path is unreachable; confirm DNS and server name.Error 18456 signals login failures after the network handshake; review authentication settings.

Common Causes

Disabled SQL Browser blocks instance discovery, resulting in error 26.UDP 1434 or TCP 1433 blocked by Windows Firewall or network ACLs stops the discovery process.Incorrect server or instance name in the connection string points the client to a non-existent host.TCP/IP protocol disabled or remote connections turned off in SQL Server forbids external clients.

Related Errors

Error 40 – Could not open a connection to SQL Server: occurs after the server is located but the TCP socket fails.Error 53 – The network path was not found: appears when DNS or NetBIOS cannot resolve the host name.Error 18456 – Login failed for user: authentication succeeds at network level but fails at SQL login.

FAQs

Why does Error 26 appear only from remote machines?

Local connections use shared memory and skip SQL Browser, so discovery issues surface only remotely. Open UDP 1434 and enable TCP/IP to fix.

Can I bypass SQL Browser altogether?

Yes. Assign a static TCP port to the instance and specify Server=HOST,PORT in your connection string.

Does Error 26 mean SQL Server is down?

Not necessarily. The server may be running but unreachable, or the client may have an incorrect instance name.

How does Galaxy help avoid Error 26?

Galaxy auto-validates connection strings, highlights unreachable hosts, and suggests firewall fixes, reducing misconfigurations that cause Error 26.

Check out some other errors

Trusted by top engineers on high-velocity teams
Aryeo Logo
Assort Health
Curri
Rubie
BauHealth Logo
Truvideo Logo