Port 156
sqlsrv · TCP/UDP
| Range | System/well-known port (0–1023) |
|---|---|
| Protocol | TCP/UDP |
| Service | sqlsrv |
Frequently asked questions
What is port 156 used for?
Port 156 is registered with the IANA for sqlsrv (TCP/UDP). Description: SQL Service.
Is port 156 a well-known port?
Yes. Port 156 is in the range 0–1023 (system or well-known ports). On Linux and macOS only privileged processes may bind to these ports.
How do I check whether port 156 is open?
Locally on Linux with ss -tulpn | grep ':156\b', on Windows with netstat -ano | findstr :156. To test a remote host use Test-NetConnection <host> -Port 156 in PowerShell or nc -zv <host> 156 on Linux/macOS.
How do I open port 156 in the firewall?
Ubuntu/Debian (ufw): sudo ufw allow 156/tcp. Fedora/RHEL (firewalld): sudo firewall-cmd --add-port=156/tcp --permanent, then firewall-cmd --reload. Windows (PowerShell as administrator): New-NetFirewallRule -DisplayName "Port 156" -Direction Inbound -Protocol TCP -LocalPort 156 -Action Allow.
IANA registry entries
| Protocol | Service | Description (IANA) |
|---|---|---|
| TCP | sqlsrv | SQL Service |
| UDP | sqlsrv | SQL Service |