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: Need help to bind apache to ip
Author
hcore8



Joined: 23 Mar 2012
Posts: 2
Location: madagascar

PostPosted: Fri 23 Mar '12 14:28    Post subject: Need help to bind apache to ip Reply with quote

Hello everyone!
I tried searching a solution to my problem but I didn't find any up to now and really need help.

When I edit the httpd.conf file and try to do
this:
Listen 192.168.1.10:80

I get an error after trying to restart the apache service saying: "The requested operation has failed!"

although when I edit the file and put this it works:
Listen 80

I need help to bind the server to specific IP addresses
Sad please if anyone knows how to fix this
Back to top
James Blond
Moderator


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

PostPosted: Sat 24 Mar '12 13:15    Post subject: Reply with quote

Please try on the command line httpd -t.
Also what is in your error log about that?
Back to top
hcore8



Joined: 23 Mar 2012
Posts: 2
Location: madagascar

PostPosted: Sun 25 Mar '12 13:56    Post subject: Reply with quote

ok, what exactly does the httpd -t do?

here is what's written in my error log:
[Fri Mar 23 14:47:05 2012] [notice] Child 5000: Exit event signaled. Child process is ending.
httpd.exe: Could not reliably determine the server's fully qualified domain name, using 192.168.1.3 for ServerName
(OS 10049)The requested address is not valid in its context. : make_sock: could not bind to address 192.168.1.10:80
no listening sockets available, shutting down
Unable to open logs
Back to top
James Blond
Moderator


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

PostPosted: Mon 26 Mar '12 23:04    Post subject: Reply with quote

it seems that a program is already listening on port 80. To see which one it is you can use the small program http://dl.dropbox.com/u/40218896/setups/xampp-portcheck.exe
Back to top


Reply to topic   Topic: Need help to bind apache to ip View previous topic :: View next topic
Post new topic   Forum Index -> Apache