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
808 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
611 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
874 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
524 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,980 points
955 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
3,508 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
6,844 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,137 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