Closed Thread
Results 1 to 6 of 6

Thread: Apache2 Start Error

  1. #1
    Jame is offline Learning Programmer
    Join Date
    Feb 2008
    Posts
    32
    Rep Power
    0

    Apache2 Start Error

    When I run '/etc/init.d/apache2 restart' I get this error:

    Code:
    (98)Address already in use: make_sock: could not bind to address 0.0.0.0:80
    Anyone know what is causing this or how to fix it?

  2. CODECALL Circuit advertisement
    Join Date
    Always
    Posts
    Many

     
  3. #2
    Tor
    Tor is offline Programming Expert
    Join Date
    Oct 2007
    Posts
    488
    Rep Power
    0
    Is something already using port 80? I got this error a long time ago and in my httpd.conf file I commented out this line:

    Code:
    Listen :80
    and restarted apache. It worked fine.

  4. #3
    tecktalk is offline Programmer
    Join Date
    May 2008
    Posts
    179
    Rep Power
    0
    Yes.. its and old error.. I think.. tor suggested the fine way.. try it..

    _______________________
    custom awards murad

  5. #4
    HappyUser is offline Learning Programmer
    Join Date
    Jan 2008
    Posts
    40
    Rep Power
    0
    I got a similar error in c# when I tried making a server that listened on port 80, and port 80 is opened by default on the school computers! And I think that the error was very similar to that one, so yeah maybe the port is already opened.

  6. #5
    zErOaCid is offline Newbie
    Join Date
    Mar 2009
    Posts
    21
    Rep Power
    0
    yeah, that port is already been used. Try doing the command, netstat. Try to see if there is port 80 running.

  7. #6
    Homebrewer is offline Learning Programmer
    Join Date
    Mar 2009
    Posts
    37
    Rep Power
    0
    Maybe you should post your apache2.conf to resolve the issue. If you did something with it, try to get back on your previous settings.

Closed Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. [Apache2]Do not show me changes
    By AdrianWierciochPHP in forum PHP Development
    Replies: 17
    Last Post: 01-10-2011, 10:30 AM
  2. installing and configuring Apache2 + php5 on W7
    By Roman Y in forum PHP Development
    Replies: 5
    Last Post: 08-31-2010, 11:13 AM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts