lonelyhunter Posted July 29, 2008 Share Posted July 29, 2008 I ran Fedora Core 5 with apache 2.2.2 and my server computer died. Now I installed Fedora 9 which came with Apache 2.2.0. My problem is with the httpd.conf file. If I don't put my real IP-addess like for example "listen 192.168.0.100:88" I can't get apache running. If I use 127.0.0.1:88 or anything other than the real ip-addess, I get errors like (98)Address already in use: make_sock: could not bind to address [::]:80 (98)Address already in use: make_sock: could not bind to address 0.0.0.0:80 no listening sockets available, shutting down Why not use the real ip-addess? Well, I have a dynamic IP and dynamic DNS service to go with it so I can't change the IP on the config file every time it changes. Any way around this? Quote Link to comment https://forums.phpfreaks.com/topic/117256-apache-with-dynamic-ip-httpdconf/ Share on other sites More sharing options...
corbin Posted July 30, 2008 Share Posted July 30, 2008 Perhaps it's already in use? Try running ps -A | grep "httpd" And see if anything comes up. Also, you could always try "Listen 80" with no IP specified. Quote Link to comment https://forums.phpfreaks.com/topic/117256-apache-with-dynamic-ip-httpdconf/#findComment-603290 Share on other sites More sharing options...
lonelyhunter Posted July 30, 2008 Author Share Posted July 30, 2008 No, it is not running and the default "listen 80" doesn't work. Fedora & apache used to work pretty much "out of the box" but other people have had same kind of problems. I found the solution (from a web page). As qurious as it may sound, I had to comment out the whole "listen 80" line. Quote Link to comment https://forums.phpfreaks.com/topic/117256-apache-with-dynamic-ip-httpdconf/#findComment-603320 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.