In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-15 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/03 Report--
What the editor shares with you today is the method of viewing ports in the linux system. The editor thinks it is very practical, so I will share it for you as a reference. Let's follow the editor and have a look.
First, open the command interface of Linux, as shown in the figure (this article takes the Ubuntu system as an example):
Then, in order to get higher permissions (that is, to view all ports), switch root user login
Method 1: use the lsof command. Take port 80 as an example, as shown in the figure:
If there is no output, the port number is not open. To facilitate testing, this article detects an open port number and outputs the information shown in the figure:
Method 2: use the netstat command to view all open port numbers
The command shown in the following figure is to view all the port numbers in the system that use the udp protocol
The above is the linux system to view the port method introduction, detailed use of their own use to know the specific essentials. If you want to read more related articles, you are welcome to follow the industry information channel!
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.