Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

How does the Linux system view port occupancy

2025-02-24 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >

Share

Shulou(Shulou.com)06/02 Report--

This article will introduce in detail for you "Linux system how to view port occupation", the content steps are clear and detailed, the details are handled properly, and the editor will update different knowledge points every day, hope that this article "Linux system how to view port occupation" can give you unexpected harvest, please follow the editor's ideas slowly in depth, the specific content is as follows, to harvest new knowledge.

First, find port 80 services

So if we want to install 80, we need to close the occupied port 80 and switch to the / etc/init.d service startup script to check. As shown in the picture, httpd (if you are not sure which one needs to be searched)

Second, view and monitor port 80

First of all, you need to confirm whether port 80 is occupied, you can enter it (take centos as an example in this example)

Netstat-nat | grep ": 80"

Listen is shown below to indicate that it is running

Third, close the service of port 80

After finding the port that occupies 80 services, as shown in the figure. Stop the service by executing the command

Check the port usage again, there is no 80 in use.

IV. Continue to install the service

After stopping 80 from being temporarily used, just continue to install the software you just had.

Once installed, check port 80 again

What are the versions of Linux? the versions of Linux are Deepin, UbuntuKylin, Manjaro, LinuxMint, Ubuntu and so on. Among them, Deepin is one of the best-developed Linux distributions in China; UbuntuKylin is a derivative release based on Ubuntu; Manjaro is a Linux release based on Arch; LinuxMint's default Cinnamon desktop is similar to Windows XP's easy-to-use; Ubuntu is the Linux operating system based on desktop applications.

Thank you for reading here. I hope you have the most profound experience on the key issue of "how to check port occupation in Linux system" from the practical level. The specific usage needs to be practiced by everyone before you can understand it. If you want to read more related articles, 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.

Share To

Development

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report