logo
Apache Lounge
Webmasters

 

About Forum Index Downloads Search Register Log in RSS X


Keep Server Online

If you find the Apache Lounge, the downloads and overall help useful, please express your satisfaction with a donation.

or

Bitcoin

A donation makes a contribution towards the costs, the time and effort that's going in this site and building.

Thank You! Steffen

Your donations will help to keep this site alive and well, and continuing building binaries. Apache Lounge is not sponsored.
Post new topic   Forum Index -> Apache View previous topic :: View next topic
Reply to topic   Topic: Static IP No Longer Works In Listen Directive
Author
digg



Joined: 26 Jul 2007
Posts: 3

PostPosted: Thu 26 Jul '07 8:41    Post subject: Static IP No Longer Works In Listen Directive Reply with quote

I have a static ip that was just working before installing PHP. It also worked after installing PHP.

After installing PHP, I reset the server and the Apache2 service wouldn't start. After uninstalling PHP and Apache and then reinstalling Apache I found what was causing the service to not start:

When I remove my static ip from the Listen directive and just leave it set to "80" the service starts fine. It also start when I user 127.0.0.1.

What went wrong and how can I fix it?

Thanks!
Back to top
digg



Joined: 26 Jul 2007
Posts: 3

PostPosted: Thu 26 Jul '07 9:19    Post subject: Reply with quote

Forgot to mention:

Althought I stopped the IIS service and set it to "Manual" I didn't disable it initially.

When I restarted the server the IIS service started so I just disabled it and restarted again. Still, the Apache service didn't start. Keep in mind, localhost:80 works fine.
Back to top
James Blond
Moderator


Joined: 19 Jan 2006
Posts: 7298
Location: Germany, Next to Hamburg

PostPosted: Thu 26 Jul '07 10:14    Post subject: Reply with quote

try on the console (cmd) netstat -nb to see which program is listen on Port 80. Or maybe a firewall is blocking apache.
Back to top
digg



Joined: 26 Jul 2007
Posts: 3

PostPosted: Thu 26 Jul '07 16:42    Post subject: Reply with quote

Hi.

I tried that and I don't see anything listening to port 80. I also checked the firewall settings within the router and it's set to forward traffic from port 80. It was working fine before installing PHP and restarting.

Any other ideas?
Back to top
James Blond
Moderator


Joined: 19 Jan 2006
Posts: 7298
Location: Germany, Next to Hamburg

PostPosted: Sun 29 Jul '07 16:40    Post subject: Reply with quote

anything in your error log or PHP error log?? Sure that PHP is working correct? What if you disable PHP in httpd.conf?
Back to top


Reply to topic   Topic: Static IP No Longer Works In Listen Directive View previous topic :: View next topic
Post new topic   Forum Index -> Apache