In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-03-28 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Internet Technology >
Share
Shulou(Shulou.com)06/02 Report--
This article mainly explains "how to use the command to check the port of Linux", interested friends may wish to have a look. The method introduced in this paper is simple, fast and practical. Let's let the editor take you to learn "Linux how to use the command to view the port"!
Netstat-atulnp will show all ports and all corresponding programs, and you can filter out the desired fields with the grep pipeline.
-a: all, which lists all connections, service monitoring, and Socket data
-t: tcp, listing the services of the tcp protocol
-u: udp, which lists the services of the udp protocol
-n: port number, displayed with port number
-l: listening, which lists the current listening services
-p: program, listing the PID of the service program
Proto: network transport protocol, mainly tcp and udp
Local Address: local ip:port
Foreign Address: ip:port of the remote host
State: connection status, mainly monitoring (LISTEN) and establishment (ESTABLISED)
PID/Program: process number / service name of the service
At this point, I believe you have a deeper understanding of "Linux how to use the command to view the port". You might as well do it in practice. Here is the website, more related content can enter the relevant channels to inquire, follow us, continue to learn!
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.