Keep Server Online
If you find the Apache Lounge, the downloads and overall help useful, please express your satisfaction with a donation.
or
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.
| |
|
Topic: Need help to bind apache to ip |
|
Author |
|
hcore8
Joined: 23 Mar 2012 Posts: 2 Location: madagascar
|
Posted: Fri 23 Mar '12 14:28 Post subject: Need help to bind apache to ip |
|
|
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
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
|
Posted: Sat 24 Mar '12 13:15 Post subject: |
|
|
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
|
Posted: Sun 25 Mar '12 13:56 Post subject: |
|
|
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
|
|
Back to top |
|
|
|
|
|
|