Database
Risk: High

Port 1433 β€” Microsoft SQL Server (MS SQL)

Port 1433 is the official standard port assigned for Microsoft SQL Server instances.

PORT NUMBER

1433

PROTOCOL

TCP

DEFAULT PROCESS

sqlservr.exe

FIREWALL TARGET

1433/tcp

Instant Terminal Fixes for Port 1433

macOS & Linux Terminal
1. Check who is listening on port 1433:
sudo ss -tulpn | grep 1433
2. Kill process occupying port 1433 (EADDRINUSE fix):
sudo systemctl stop mssql-server
3. UFW Firewall Allow rule:
sudo ufw allow from 10.0.0.0/8 to any port 1433 proto tcp
Windows PowerShell (Admin)
1. Check listening port:
Get-NetTCPConnection -LocalPort 1433
2. Force kill process on port 1433:
Stop-Service MSSQLSERVER -Force
3. Docker Port Forwarding Mapping:
docker run -p 1433:1433 -e ACCEPT_EULA=Y -e SA_PASSWORD=YourStrong@Pass -d mcr.microsoft.com/mssql/server:2022-latest

Common Error Encountered

Cannot open database requested by the login. Connection to localhost:1433 failed.

Security Advisory & Hardening

Frequently targeted by SQL brute-force attacks. Disable the `sa` account or assign a 25+ character random password, and enable SQL Server audit logging.

Frequently Asked Questions

Port 1433 Questions & Answers

Common questions regarding default services, kill commands, and firewall configurations.

Port 1433 is commonly used for Microsoft SQL Server (MS SQL). Port 1433 is the official standard port assigned for Microsoft SQL Server instances.