In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-02-24 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/03 Report--
First of all, let's open the command interface of the Linux to view the port, as shown in the figure (take the Ubuntu system as an example)
Then, in order to get higher permissions (view all ports), switch root login here
The first method is to use the lsof-I: Port number command line, taking 80 as an example, as shown in the figure:
If there is no output, the port number is not opened. In order to facilitate testing, I detect an open port number here, and the information shown in the figure will be output.
The second way is to use the netstat-aptn command line to check all open port numbers
The command shown in the figure is to view all the port numbers in the system that use the udp protocol
Then this command is to view the port number information on the system that uses the tcp protocol.
These are the details of how to check whether the designated port is open in linux. For more information, please follow other related articles!
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.