SQL Server Error 1433: All Three Server Instances Did Not Remain
In this article
The error "all three server instances did not remain" with SQL Server error 1433 is not a standard SQL Server error code. Error 1433 is the default TCP port for SQL Server, and the message you are seeing likely comes from a third-party application, installer, or monitoring tool that is trying to connect to three SQL Server instances and failing. To fix it, you need to ensure each instance is listening on the correct port, that the SQL Server Browser service is running, and that firewalls allow traffic. Start by verifying that each instance is actually running and configured for TCP/IP, then work through the connection path from client to server.
What You'll Need
- Administrative access to the SQL Server host(s) and to the client machine or application that shows the error.
- SQL Server Configuration Manager (installed with SQL Server) on each server.
- Windows Firewall with Advanced Security or your network firewall management console.
- The exact connection strings or server names the application uses for all three instances.
- Basic familiarity with TCP/IP ports and SQL Server services.
Step-by-Step
- Confirm each SQL Server instance is running. On each server, open SQL Server Configuration Manager. In the left pane, select SQL Server Services. Check that the service for each instance (for example, SQL Server (MSSQLSERVER) for the default instance, or SQL Server (INSTANCENAME) for named instances) shows a status of Running. If any service is stopped, right-click it and choose Start. If it fails to start, check the Windows Event Viewer > Application log for the specific error before continuing.
- Enable TCP/IP for every instance. In SQL Server Configuration Manager, expand SQL Server Network Configuration. Select Protocols for the instance you are checking. In the right pane, right-click TCP/IP and choose Enable if it is disabled. Repeat for each instance. After enabling, restart the SQL Server service for that instance so the change takes effect.
- Verify the port settings. Still in SQL Server Configuration Manager, right-click TCP/IP and choose Properties. On the IP Addresses tab, scroll to the IPAll section. For a default instance, the TCP Port is usually 1433. For named instances, you can either use dynamic ports (blank TCP Dynamic Ports) or set a static port. If you set a static port, make sure it is unique per instance on the same host. Note the port numbers for each instance; you will need them for firewall rules and connection strings.
- Check the SQL Server Browser service. If you are using named instances with dynamic ports, the SQL Server Browser service must be running so clients can discover the correct port. In SQL Server Configuration Manager > SQL Server Services, find SQL Server Browser. If it is stopped, right-click and choose Start. Set its startup mode to Automatic if it is not already. If you use static ports for all instances, Browser is not strictly required, but many applications still rely on it.
- Open the firewall for each port. On each server, open Windows Firewall with Advanced Security (or your network firewall console). Create an inbound rule for TCP that allows the specific port used by each instance (for example, 1433 for the default instance, and the static or dynamic port for each named instance). Also allow UDP port 1434 if SQL Server Browser is used. If the servers are behind a network firewall, ensure the same ports are allowed between the client and the servers.
- Test local connectivity first. On each server, open a command prompt and run
sqlcmd -S localhost -E(for a default instance) orsqlcmd -S localhost\InstanceName -Efor a named instance. If you can connect locally, the instance and TCP/IP are working. If not, review the error message and check the SQL Server error log (in SQL Server Management Studio, under Management > SQL Server Logs) for binding or permission issues. - Test remote connectivity from the client. On the machine that shows the error, use a tool such as
telnet servername 1433(or the appropriate port) to check that the port is reachable. You can also use PowerShell:Test-NetConnection -ComputerName servername -Port 1433. If the connection fails, the issue is likely firewall, network routing, or the instance not listening on that port. If it succeeds, the problem is in the application's connection string or authentication. - Review the application's connection strings. Open the configuration for the application that reports the error. Check the server name, instance name, and port for all three instances. For a named instance using a static port, use the format
servername,port(comma, not colon). For a named instance using dynamic ports, useservername\InstanceNameand ensure SQL Server Browser is reachable. Make sure the application is not hardcoding port 1433 for all three instances if they are on different ports. - Check for port conflicts. If two instances on the same host are configured to use the same static port, only one will be able to listen. In SQL Server Configuration Manager, verify that each instance has a unique TCP port. You can also run
netstat -ano | findstr :1433on the server to see which process is listening on a given port. - Restart the SQL Server services and the application. After making configuration changes, restart each SQL Server service and then restart the application or service that shows the error. Some applications cache connection information and will not pick up changes until restarted.
Common Mistakes
- Assuming error 1433 is a SQL Server error code. It is a port number. The message "all three server instances did not remain" is likely from your application, not from SQL Server itself. Focus on the connection path rather than searching for a SQL Server error with that exact text.
- Forgetting to restart the SQL Server service after enabling TCP/IP. Changes to network protocols do not take effect until the service restarts.
- Using dynamic ports without SQL Server Browser. If named instances use dynamic ports and the Browser service is stopped, clients cannot discover the correct port and connections fail.
- Opening only port 1433. Named instances often use different ports. Make sure the firewall allows the actual port each instance is listening on.
- Mixing up comma and colon in connection strings. For SQL Server, use a comma between server and port (for example,
ServerName,1433), not a colon. - Overlooking the client-side firewall or VPN. Outbound rules or VPN split tunneling can block connections even when the server firewall is correct.
Tips
- Use static ports for named instances in production. This makes firewall rules predictable and avoids reliance on SQL Server Browser.
- Document the port for each instance and keep it with your connection strings.
- Test with
sqlcmdor PowerShell before changing application code; it isolates whether the problem is network or application. - Check the SQL Server error log for messages about failed TCP/IP binding or port conflicts.
- If the application runs on multiple machines, test from each one; a firewall rule might be scoped to a single IP address.
Troubleshooting
If you have followed the steps and still see the error, work from the outside in. First, confirm the server is reachable at all: ping the server name or IP. Then test the specific port with Test-NetConnection or telnet. If the port is closed, check the Windows Firewall inbound rules and any network firewall between client and server. If the port is open but the application still fails, examine the application's logs for the exact connection string and error details. A common cause is that the application expects all three instances on port 1433, but only the default instance uses that port; named instances need their own port or instance name. If you are using SQL Server Browser, verify UDP port 1434 is open and the Browser service is running. If you recently changed ports, restart the SQL Server service and the application. As a last resort, use SQL Server Management Studio from the client machine to connect to each instance using the same credentials the application uses; if SSMS connects but the application does not, the issue is in the application configuration or its network path.
Frequently Asked Questions
Is error 1433 a SQL Server error code?
No. 1433 is the default TCP port for SQL Server. The message you are seeing is likely generated by your application or installer, not by SQL Server itself.
Why do all three instances need different ports?
Each instance must listen on a unique TCP port on the same host. If two instances try to use the same port, only one can bind successfully, and the other will fail to accept connections.
Do I need SQL Server Browser if I use static ports?
Not strictly, but some applications still query the Browser service to resolve named instances. If you use static ports, you can connect using server,port without Browser, but leaving Browser running is harmless if UDP 1434 is open.
How can I check which port an instance is using?
In SQL Server Configuration Manager, open TCP/IP properties for the instance and look at the IPAll section. Alternatively, run netstat -ano on the server and match the process ID to the SQL Server service.
What if I cannot restart the SQL Server service?
You need administrative rights on the server. If you lack them, contact your server administrator. Some changes, like enabling TCP/IP, require a service restart to take effect.
Could the error be caused by a firewall on the client machine?
Yes. Outbound firewall rules or security software on the client can block the connection. Test from another machine on the same network to isolate the issue.