Thursday, March 11, 2010
 
 

Skype owns port 80 and Apache fails

Yesterday when I tried to run Apache web server in my system, it failed to stop. All I could get was an alert message from Apache Monitor was “Requested operation has failed”. No description, No error code, absolutely vague error message.

I tried running apache directly from the installation location and it threw quite descriptive error.

Duh! Looks like apache server failed to get ownership for port 80.  But I had not installed any other web server, so which application is using port 80 ? Here is what I did to find out

1) Execute netstat -na -o command ( netstat  guide )and search for port 80.  The last column in result would indicate the process id for the application which is blocking the port

2) Execute tasklist with find command and see which application is that

Oh! As you can figure out from screenshots, skype was using port 80. So if you are facing similar kind of problem, you need to configure skype first .

Launch Skype. Click on Tools -> Options -> Advanced -> Connection. You would notice a checkbox for using port 80 and 443 as alternatives for incoming connections. Uncheck it, save and restart skype.

Apache did start after configuring skype for me. This is just one of the case why apache throws up such error which I faced.

There could be scenario where your firewall configuration is blocking apache or you configuration file is corrupted.

Alternatively, you could configure apache to listen to other port instead of port80. Search for Listen in httpd.conf and replace port ( do not use standard ports though! ).

Share and Enjoy:
  • Digg
  • Twitter
  • Facebook
  • del.icio.us
  • StumbleUpon
  • Reddit
  • Turn this article into a PDF!
  • E-mail this story to a friend!
  • Slashdot
  • Yahoo! Buzz
  • Yahoo! Bookmarks
  • Google Bookmarks
  • LinkedIn
 

Tags: , , , ,

Comments: 2

(comments are closed)

 
  • Apache Webserver Port Error!…

    Is not my first time to install XAMPP (Apache, Mysql, PHP). After reformat my computer, I’ve to reinstall it back. Then only can run Wordpress locally.
    The XAMPP or Apache Friends installation is straight forward. No configuration, just follow th…

     
     
     
  • I chanced upon your blog and found it very informative. The event blogs are striking enough to have a feel of the event, so, I would like to have a little chit-chat on your blogging interests. And even we are coming up with an event on startups on June 6th. So, can I have your contact details? Looking forward to hear from you.

    sikta@siliconindia.com