I am having problem with Apache as it cant restart because it already uses its port

0 votes

 I am trying to restart apache and it's showing an error:

(13)Permission denied: make_sock: could not bind to address 0.0.0.0:80
no listening sockets available, shutting down

But when I am trying to check who uses it, it points to itself:

tcp        0      0 0.0.0.0:8080            0.0.0.0:*               LISTEN      22656/apache2
tcp        0      0 0.0.0.0:80              0.0.0.0:*               LISTEN      22656/apache2

Can anyone help me with this query?

Thanks.

Jul 25, 2018 in DevOps Tools by Damon Salvatore
• 5,510 points
38 views

1 answer to this question.

0 votes
Here is what you can do.

Free the catch memory and make sure you are not declaring Listen 80 twice in .conf files.

For example, you might have it both in ports.conf and inn sites-enabled/www.conf.

To find out, use: grep -ri listen /etc/apache2

I hope that the above information would be helpful for you.
answered Jul 25, 2018 by Atul
• 10,240 points

Related Questions In DevOps Tools

0 votes
1 answer

For Gradle & Spring Boot, how do I choose dependency with implementation?

Below is the answer to your question: Both ...READ MORE

answered Jun 16, 2018 in DevOps Tools by shubham
• 6,890 points
68 views
0 votes
1 answer

apache in amazon: httpd24 conflicts with httpd-2.2.31-1.8.amzn1.x86_64

I think you need to uninstall the ...READ MORE

answered Jun 26, 2018 in DevOps Tools by ajs3033
• 7,280 points
98 views
0 votes
1 answer

Can I use Bluemix devops services with a dedicated Bluemix?

DevOps services isn't currently working in dedicated. READ MORE

answered Jul 11, 2018 in DevOps Tools by Kalgi
• 2,620 points
42 views
0 votes
1 answer

How do I set maximum queue connection for nginx port in Windows?

Since increasing queue size did not fix your problem ...READ MORE

answered Aug 22, 2018 in DevOps Tools by Damon Salvatore
• 5,510 points
74 views
+13 votes
2 answers

Git management technique when there are multiple customers and need multiple customization?

Consider this - In 'extended' Git-Flow, (Git-Multi-Flow, ...READ MORE

answered Mar 26, 2018 in DevOps & Agile by DragonLord999
• 8,380 points
215 views
0 votes
1 answer
0 votes
1 answer

How do I run “ant update” in Hybris with only “Update Running System”?

Here is what you can try. You can ...READ MORE

answered Jul 10, 2018 in DevOps Tools by Atul
• 10,240 points
1,505 views
0 votes
1 answer

Maven deploy “Release Note” as artifact

Using both @SpaceTrucker and @khmarbaise, came up with the following ...READ MORE

answered Jun 19, 2018 in DevOps Tools by Atul
• 10,240 points
171 views