Home / Localhost / localhost:1433

localhost:1433 (SQL Server): connection refused and fixes

Port 1433 is the default port of Microsoft SQL Server. How to connect and fix connection errors.

Not a web pagePort 1433 is Microsoft SQL Server. Use a database tool, not a normal browser tab.

localhost:1433 is not a web page. It is the port Microsoft SQL Server listens on for database tools such as SSMS, Azure Data Studio and sqlcmd.

localhost:1433: connect to port 1433 on your computer, where Microsoft SQL Server is running

What runs on localhost:1433

Commands to start and test port 1433

Connect with sqlcmd
sqlcmd -S localhost,1433 -U sa
SQL Server in Docker
docker run -d -p 1433:1433 -e ACCEPT_EULA=Y -e MSSQL_SA_PASSWORD="Change-me-123" mcr.microsoft.com/mssql/server:2022-latest
Check the port is open (PowerShell)
Test-NetConnection localhost -Port 1433

Find what is using port 1433

Run these in a terminal on your computer. Nothing is sent to this site.

If localhost:1433 will not open

Enable TCP/IP and set a fixed port
Microsoft’s steps: in SQL Server Configuration Manager open SQL Server Network Configuration, then TCP/IP for your instance. On the IP Addresses tab, clear a 0 in TCP Dynamic Ports, type the port in TCP Port, press OK, and restart the SQL Server service. Each IP section is Enabled = No by default, and if Listen All is Yes only the IPAll values are used.
Named instances do not use 1433
A default instance listens on TCP 1433. Named instances pick a dynamic port when the service starts, so open the firewall for a fixed port you set, or use the SQL Server Browser service to connect by name.
Login failed for user sa
Check the password and that the sa login is enabled. SQL Server also requires a strong password.
A named instance does not answer on 1433
Named instances such as SQLEXPRESS often use a dynamic port. Check SQL Server Configuration Manager under TCP/IP.
Port 1433 is already in use
Another program is on this port. Find it with the tool below and stop it, or start yours on another port.
Connection refused on port 1433
The service is not running, or it listens on another port. Start it and check the port in its settings.

Other ports like 1433

PortUsually used by
localhost:3306MySQL, MariaDB
localhost:5432PostgreSQL
localhost:27017MongoDB
localhost:6379Redis
localhost:11211Memcached
localhost:5984CouchDB
localhost:8983Apache Solr

Questions about localhost:1433

Why does the browser show nothing?
SQL Server speaks its own protocol, not HTTP. Use a database tool.
Is localhost:1433 safe?
Yes, as long as it stays on localhost. Only your own computer can reach it. It becomes reachable from other devices only if you start the program on 0.0.0.0 or your computer's IP address. Do not put development or admin tools on the public internet.

Updated 2026-10-20

Free tools that help

Related pages