TCP · Port 1433IANA Registered

Port 1433 — Microsoft SQL Server

Default TCP listening port for Microsoft SQL Server relational database engine client connections.

⚡ Primary Use Cases & Environments

  • ✓Enterprise applications connecting to MS SQL databases
  • ✓SQL Server Management Studio (SSMS) connections

🛡️ Security & Vulnerability Analysis

Must never be directly exposed to the internet. Protect with IP whitelisting, VPN access, and strong SQL/Windows authentication.

🔧 Network Diagnostics & Inspection

1. Check Active Listening Sockets (Local Host)
Terminal Command
$ sudo ss -tuln | grep :1433
Inspects whether any local process daemon is bound to port 1433.
2. Remote Port & Service Scan (Nmap)
Terminal Command
$ nmap -p 1433 -sV --script ms-sql-info <target-ip>
Probes target IP to determine whether port 1433 is open, closed, or filtered.
3. Wireshark Capture / Display Filter
tds or tcp.port == 1433Wireshark Filter

🔥 Firewall Configuration Rules (UFW & iptables)

UFW (Uncomplicated Firewall)
Terminal Command
$ sudo ufw allow from <app-ip> to any port 1433 proto tcp
Applies a persistent Linux UFW firewall rule for port 1433.
iptables Command
Terminal Command
$ sudo iptables -A INPUT -p tcp -s <app-ip> --dport 1433 -j ACCEPT
Appends a direct netfilter kernel rule to the INPUT chain for port 1433.

❓ Frequently Asked Questions (FAQ)

How do I test connection to MS SQL port 1433?

Run "sqlcmd -S <server-ip>,1433 -U <user> -P <password>" or test socket connectivity with "nc -zv <server-ip> 1433".

Related Networking Tools & Guides