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,980 points
1,103 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 17, 2018 in DevOps Tools by shubham
• 7,340 points
773 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,300 points
1,080 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,680 points
762 views
+15 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 27, 2018 in DevOps & Agile by DragonLord999
• 8,450 points
4,036 views
+2 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
7,162 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
1,342 views
webinar REGISTER FOR FREE WEBINAR X
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP