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
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.

 

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.