Service Name to Port Number Lookup
Find the standard port number and protocol (TCP/UDP) for any named network service.
Input
Result
Service Name to Port Number Lookup
The Service Name to Port Number Lookup is a network administration utility designed to map service names to their standard port numbers and protocols. In TCP/IP networking, communication channels are organized using port numbers, which direct traffic to the correct service on a server. This tool automates the lookup process, matching input names against standard port allocations. Network administrators, systems engineers, and security auditors input service names, and the database engine displays the port assignments instantly.
Network Services and Port Assignments
Every network service uses a specific port number to listen for traffic. Standard assignments (such as Port 80 for HTTP and Port 443 for HTTPS) are managed by the Internet Assigned Numbers Authority (IANA) to prevent service conflicts.
According to networking standards, there are 4 distinct structural properties that govern port assignments. First, ports are split into three ranges: Well-Known (0-1023), Registered (1024-49151), and Dynamic/Private (49152-65535). Second, assignments declare whether they use TCP, UDP, or both protocols. Third, service names are case-insensitive during lookup. Fourth, firewalls require exact port listings to manage network traffic. Lookup engines use these rules to retrieve port mappings.
The History of Service Port Databases
The concept of port mapping dates back to the early designs of the internet protocol suite. In Unix systems, the /etc/services file has served as the local database mapping service names to ports since the 1980s. As web services and database systems expanded, new ports were registered for databases (like 3306 for MySQL and 5432 for PostgreSQL) and cache servers (like 6379 for Redis). Administrators use port lookup tools to verify firewall rules, configure servers, and audit open ports.
How the Port Lookup Works
To find a port number, enter the service name (such as 'ssh' or 'http') and run the search. The database engine processes the query through a 3-step sequence.
- Query Normalization: The engine trims whitespace and converts the service name to lowercase to ensure matching consistency.
- Database Lookup:
- The engine searches the port registry mapping table for the normalized service name.
- It retrieves the port number and the protocol (TCP or UDP) associated with that service.
- Report Generation: The engine displays the service details, the assigned port, the protocol, and a brief description of the service.
For example, inputting 'ssh' searches the database and returns '22/TCP/UDP'. The tool displays this result instantly.
Service Port Reference Table
The table below displays sample mappings for common network services.
| Service Name Query | Standard Port Assignment | Protocol Used | Port Range Category | Common Application |
|---|---|---|---|---|
ssh |
22 | TCP / UDP | Well-Known Port | Secure remote terminal access connections |
http |
80 | TCP | Well-Known Port | Standard unencrypted web page traffic |
https |
443 | TCP | Well-Known Port | Encrypted web page traffic (SSL/TLS) |
mysql |
3306 | TCP | Registered Port | MySQL database client connections |
Frequently Asked Questions
What is the difference between TCP and UDP ports?
TCP ports establish a reliable, connected session, whereas UDP ports transmit packets without verifying delivery. Most web applications use TCP, while streaming services use UDP.
Can multiple services share the same port number?
No two active services on the same server can listen on the same port and protocol at the same time. Doing so causes port conflict errors.
Why are ports divided into different ranges?
The division organizes port allocations. Well-Known ports are reserved for core system services, Registered ports are for specific applications, and Dynamic ports are for temporary client connections.
Lookup Your Network Service Ports Instantly
Manual searching of reference tables is slow and prone to errors. The Service Name to Port Number Lookup delivers reliable, instant port mappings. Use this tool to verify firewall settings, configure servers, and audit connection strings easily.