Jump to content

Apache with dynamic IP & httpd.conf


lonelyhunter

Recommended Posts

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?

 

Link to comment
https://forums.phpfreaks.com/topic/117256-apache-with-dynamic-ip-httpdconf/
Share on other sites

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.

 

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.