Home > Article > Operation and Maintenance > Linux port is blocked
Introduction to port availability detection tools
Different operating systems use different tools for port availability detection.
Introduction to port availability detection tools in Linux environment
traceroute is a network testing tool pre-installed in almost all Linux distributions, used to track Internet Protocol (IP) packets The path taken when transmitting to the destination address. You can use the traceroute tool to detect port availability.
traceroute probes by sending TCP packets to the target port to detect the connectivity of the corresponding port on the entire link from the packet source to the target server.
traceroute Common usage of port availability detection is as follows:
traceroute [-n] -T -p <目标端口号> Host
Example:
Parameter description:
#-n Use IP address directly instead of host name (disable DNS reverse check).
-T probe via TCP.
-p detects the target port number.
Host Target server domain name or IP.
Recommended tutorial: linux tutorial
The above is the detailed content of Linux port is blocked. For more information, please follow other related articles on the PHP Chinese website!