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 to solve the problem that port 80 is occupied in Linux

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

Share

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

Most people do not understand the knowledge points of this article, "Port 80 is occupied in Linux", so the editor summarizes the following contents, detailed contents, clear steps, and has a certain reference value. I hope you can get something after reading this article. Let's take a look at this article "how to solve the problem of port 80 in Linux".

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)

2. To view port 80, you need to confirm whether port 80 is occupied. You can enter it (take centos as an example in this case)

Netstat-nat | grep ": 80"

Listen is shown below to indicate that it is running

Third, after shutting down the 80 port service and finding the port that occupies the 80 service, as shown in the figure. Stop the service by executing the command

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

Continue to install the service after 80% of the service has been temporarily used, just continue to install the software you just had

Once installed, check port 80 again

To check the number of processes on port 80, you can check the current usage of port 80 by adding the wc-l command.

The above is about the content of this article on "how to solve the problem of port 80 occupied in Linux". I believe we all have some understanding. I hope the content shared by the editor will be helpful to you. If you want to know more about the relevant knowledge, please pay attention to 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