Get the App
SLTechnology News&Howtos  ›  Servers  › 

Test whether the ports communicate between server

Shulou Source: shulou.com Published: 2022-06-02 06:04:24 11月15日 Update

# 1.57##

[PROD #] telnet 109.120.1.86 7575

Trying...

Connected to 109.120.1.86.

Escape character is'^]'. -- > ctrl +]

Telnet >

# 1.58##

[PROD #] telnet 109.120.1.86 7575

Trying...

Connected to 109.120.1.86.

Escape character is'^]'. -- > ctrl +]

Telnet >

# 1.86##

[PRO #] netstat-an | grep 7575

Tcp 0 0 127.0.0.1.7575 127.0.0.1.13620 ESTABLISHED

Tcp 0 0 127.0.0.1.23299 127.0.0.1.7575 ESTABLISHED

Tcp 0 0 127.0.0.1.7575 127.0.0.1.13603 ESTABLISHED

Tcp 0 0109.120.1.86.7575 109.120.1.58.55238 ESTABLISHED-> established connection

Tcp 0 0109.120.1.86.7575 109.120.1.57.55243 ESTABLISHED-> established connection

Tcp 0 0 * .7575 *. * LISTEN

Tcp 0 0 127.0.0.1.13603 127.0.0.1.7575 ESTABLISHED

Tcp 0 0 127.0.0.1.7575 127.0.0.1.13595 ESTABLISHED

Tcp 0 0 127.0.0.1.13620 127.0.0.1.7575 ESTABLISHED

Tcp 0 0 127.0.0.1.7575 127.0.0.1.23299 ESTABLISHED

Tcp 0 0 127.0.0.1.13595 127.0.0.1.7575 ESTABLISHED

Tcp 0 0 127.0.0.1.7575 127.0.0.1.23305 ESTABLISHED

Tcp 0 0 127.0.0.1.23305 127.0.0.1.7575 ESTABLISHED

Udp 0 0 * .7575 *.

# Command interpretation #

-an or-- all: displays the Socket in all connections

-An or--: list the relevant addresses in the connection of this network type

-c or-- continuous: continuously lists network status

-C or-- cache: displays the cache information configured by the router

-e or-- extend: displays other relevant information about the network

-F or-- fib: display FIB

-g or-- groups: displays the list of group members with multi-broadcast function

-h or-- help: online help

-I or-- interfaces: displays the web interface information form

-l or-- listening: displays the Socket of the server under monitoring

-M or-- masquerade: shows a camouflaged network connection

-n or-- numeric: use the ip address directly, not through the domain name server

-N or-- netlink or-- symbolic: displays the symbolic connection name of the network hardware peripheral

-o or-- timers: display timer

-p or-- programs: displays the program identification number and program name that are using Socket

-r or-- route: display Routing Table

-s or-- statistice: displays the statistical table of network work information

-t or-- tcp: displays the connection status of the TCP transport protocol

-u or-- udp: displays the connection status of the UDP transport protocol

-v or-- verbose: displays the instruction execution process

-V or-- version: displays version information

-w or-- raw: displays the connection status of the RAW transport protocol

-x or-- unix: this parameter has the same effect as specifying the "- A unix" parameter

-- ip or-- inet: this parameter has the same effect as specifying the "- An inet" parameter.

Tags: Network information parameters status transmission same name address effect server program service function list command online help domain name instruction in progress version Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno MariaDB Shulou Tech Info Docker Microsoft Redmi