In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-09-22 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.
The market share of Chrome browser on the desktop has exceeded 70%, and users are complaining about
The world's first 2nm mobile chip: Samsung Exynos 2600 is ready for mass production.According to a r
A US federal judge has ruled that Google can keep its Chrome browser, but it will be prohibited from
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
1. Process ps-ef | grep redis-serverredis13 2348 1 1 Jul18? 06:57:42 redis-server 192.168.18
About us Contact us Product review car news thenatureplanet
More Form oMedia: AutoTimes. Bestcoffee. SL News. Jarebook. Coffee Hunters. Sundaily. Modezone. NNB. Coffee. Game News. FrontStreet. GGAMEN
© 2024 shulou.com SLNews company. All rights reserved.