How to Check if a Network Port Is Open on a Host
Enter a host, selected comma-separated ports, and an optional timeout, then start the check. Read the per-port outcomes and completed summary to identify which supplied entries were recorded as open, closed, or affected by an error.
Purpose and input choices
A port check attempts a connection to each port you provide on a specified host and summarizes the outcome for those selected entries. This is useful when you want to examine a small, defined set of network ports rather than describe the operation as an exhaustive scan or an application-level service check. The tool's declared behavior includes network access, so the check concerns connection attempts to the supplied destination.
The host is optional and defaults to example.com when no host is supplied. The port list is optional as well, with 80,443,22 as its default. Enter ports as a comma-separated list; surrounding whitespace is removed and blank entries are skipped. The timeout defaults to 3.0, and its effective value is limited to the range from 0.5 through 30.0. Supplying explicit values makes the destination, selected entries, and waiting period easier to review before starting the check.
Use this tool for a focused view of connection outcomes. Keep the scope of the result in mind: it concerns the entries you submit, not ports that were omitted from the list.
Procedure for selected ports
-
Enter the host you want to examine, or leave the field empty when the default
example.comis suitable. If you deliberately submit an empty host as the destination, the result is an error outcome rather than a normal check. -
Enter the ports as comma-separated entries, such as
80, 443, 22. Whitespace around an entry is removed, and blank entries are skipped. Each remaining entry is converted to an integer, so replace labels or other nonnumeric text before starting. A conversion failure produces an error outcome instead of scanning. -
Set the timeout if the default does not suit the check. The effective value cannot be below
0.5or above30.0; an outside value is constrained to the applicable limit. A timeout-type failure also produces an error outcome. -
Start the check. The tool attempts a connection for every parsed port. It records a port as open when that attempt returns zero and as closed otherwise. An exception during one individual attempt can be recorded for that port while processing continues for other entries.
-
Review the completed result. It reports the host, an outcome for each parsed port, the number of open ports, the number scanned, and the port numbers found open. A hostname-resolution failure produces an error outcome.
Reading connection outcomes
An open entry represents a connection attempt that returned zero for the supplied port. A closed entry represents an attempt with another outcome, so neither label should be extended into a conclusion about every route to the host or about an application operating correctly.
Start with the count of ports scanned and compare it with the count of open ports. The separate list of open port numbers gives a quick way to identify positive outcomes, while the per-port entries show the result associated with each submitted value. An error outcome needs separate attention because it is not the same as a closed result.
A service label may accompany a port from the built-in set of commonly recognized ports. Other ports receive a generic label. Treat these labels as identification aids, not confirmation of the service actually running on the host. The check attempts only the port entries you supply, so it does not establish an exhaustive scan, application-level service health, or general network reachability.
Worked example
You want to review the connection outcomes for three selected ports on example.com and compare the resulting open-port count with the number scanned.
Enter example.com as the host, 80, 443, 22 as the comma-separated port list, and 3 as the timeout, then start the check and inspect the completed summary and per-port entries. This action supplies three parsed ports for the check, assuming no input error occurs before processing.
The completed result contains the host, one outcome for each supplied port, the number of open ports, the number scanned, and the port numbers found open, without assuming which values those outcomes will contain.
Limitations
- The check attempts connections only for the port entries you supply. Its labels describe those attempts and do not establish an exhaustive scan, application-level service health, or general network reachability.
Common errors
- Text such as
httpor80/tcpcannot be converted to an integer port entry. Replace it with a numeric value such as80, then separate multiple values with commas.
FAQ
What happens if I leave the host blank?
Leaving the host field empty uses example.com as the optional default. Submitting an empty value as the destination you intend to check instead produces an error outcome, so enter a host when you need a specific destination.
What timeout should I use?
The default timeout is 3.0, while the effective value is constrained between 0.5 and 30.0. Choose a value in that range when you want to change the time allowed for an individual connection attempt.
What do the open, closed, and service labels mean?
Open means the supplied port's connection attempt returned zero, whereas closed means it did not. A recognized port can receive a service label, and an unrecognized port receives a generic label; neither label confirms an active application.