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