After installing Apache in Linux, start the prompt (98) Address already in use: make_sock: cocould not bind to address [::]: 80, stillcouldnotbind
I tested it in Ubuntu. The operations are the same for other system references.
When you see this prompt, you should think of port occupation.
Let's first netstat-lnp | grep 80 to see if there is any program that occupies the port (remember to run it with the root permission, otherwise it is not completely displayed)
Then check whether there is LISTEN (process ID)/(process name) in the next line of the command)
If yes, kill the process ID and try to start Apache again.
If an error is reported after kill, open the httpd. conf or apache2.conf file (this is the case when Ubuntu is installed through apt-get)
Delete this line of Listen 80, because under the directory of the same level as apache2.conf, there is a port. conf already included
This error is also reported for repeated listening port numbers. Restart later. It should be okay.