netstat command is used to print the status information of the network system in Linux, which allows you to know the network situation of the entire Linux system
when you do not want the host, port and user name to be displayed, use netstat-n. Numbers will be used instead of those names
I tried the following:
first use the netstat-a
command, and the result is as follows:
localhost:6379Redis
netstat -an
:
] [2]
does use numbers instead of names, but the port number of 6379 still exists, which contradicts his non-display port? How do you understand it?