Home  >  Article  >  Operation and Maintenance  >  Linux port is blocked

Linux port is blocked

王林
王林Original
2019-11-05 11:12:515226browse

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:

Linux port is blocked

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!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn