Bluehost.com Web Hosting $6.95

Can't obtain client's IP address

This is a discussion on Can't obtain client's IP address within the Windows Web Servers forums, part of the Web Server and Related Forums category; I installed apache_2.2.4-win32-x86-openssl-0.9.8d.msi on Windows 2000+sp.4. After installation, it ...


Go Back   Usenet Forums > Web Server and Related Forums > Windows Web Servers

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 04-03-2007
ao_hueap@excite.co.jp
 
Posts: n/a
Default Can't obtain client's IP address

I installed apache_2.2.4-win32-x86-openssl-0.9.8d.msi on Windows
2000+sp.4.
After installation, it worked quite well, superficially. But, "Allow"
directive did not work well. I checked log files and found that
apache could not obtain the IP address of client. A few lines of
access.log are:

0.0.0.0 - - [03/Apr/2007:22:26:26 +0900] "GET /icons/up_g.gif HTTP/
1.1" 404 9
0.0.0.0 - - [03/Apr/2007:22:26:26 +0900] "GET /icons/prev_g.gif HTTP/
1.1" 404 9
0.0.0.0 - - [03/Apr/2007:22:26:26 +0900] "GET /icons/contents.gif HTTP/
1.1" 404 9

It would be greatly appreciated if the solution could be taught.
Thanks.

  #2 (permalink)  
Old 04-03-2007
Purl Gurl
 
Posts: n/a
Default Re: Can't obtain client's IP address

ao_hueap wrote:

(snipped)


> I installed apache_2.2.4


> After installation, it worked quite well, superficially. But, "Allow"
> directive did not work well. I checked log files and found that
> apache could not obtain the IP address of client. A few lines of
> access.log are:


> 0.0.0.0 - - [03/Apr/2007:22:26:26 +0900] "GET /icons/up_g.gif HTTP/
> 1.1" 404 9


0.0.0.0 is typically an IP address of a transparent device,
such as a firewall, internal machine firewall and some routers.

If you are running mod_proxy and a proxy server, disable those.

Test your system using a browser and this URL address,

http://127.0.0.1/icons/up_g.gif

You may also try this URL address,

http://127.0.0.1/

This should return index.html or index.htm on your system
under your htdocs directory.


Afterwards, check your log for an IP address for this access.
Your discovered IP address should be 127.0.0.1 which verifies
Apache is working correctly.

If this is successful, test with this URL address,

http://localhost/

This will verify your machine DNS lookup is working correctly.
Log entry should again display 127.0.0.1 for an ip address.


Check your machine ip address configuration. You should be
using a static ip address, listed dns servers, a static
gateway address if using a router and WINS disabled.

START -> SETTINGS -> NETWORK CONNECTIONS -> LOCAL AREA CONNECTION

(or similar on your machine)

Check your various settings found in that section. Do not change
any settings unless you know precisely what to change. Making
a mistake on those settings can cause serious problems.

Google will provide ample background information on those settings.


Purl Gurl
  #3 (permalink)  
Old 04-04-2007
ao_hueap@excite.co.jp
 
Posts: n/a
Default Re: Can't obtain client's IP address

Dear Purl:

Thank you very much for your quick reply.
But, I am still in trouble. Before I installed Apache 2.2.4,
I have used Apache 2.0.50. That time Apache could obtain IP
address of client, correctly. I would like to emphasize that
Apache works well except for obtaining IP address. Please try
to browse
http://202.252.174.22
which is the IP address of my computer or
http://www.phys.asa.hokkyodai.ac.jp
which is the URL address of my computer.

But access.log tell me that your IP address is 0.0.0.0!

Regards,
ABE, Osamu


  #4 (permalink)  
Old 04-04-2007
Purl Gurl
 
Posts: n/a
Default Re: Can't obtain client's IP address

ao_hueap wrote:

(snipped)

> But, I am still in trouble. Before I installed Apache 2.2.4,
> I have used Apache 2.0.50. That time Apache could obtain IP
> address of client, correctly. I would like to emphasize that
> Apache works well except for obtaining IP address. Please try
> to browse


> http://202.252.174.22


> http://www.phys.asa.hokkyodai.ac.jp


> But access.log tell me that your IP address is 0.0.0.0!


I was able to access your server without any problems.

Being able to access your server from the internet indicates
your server is functioning correctly. This eliminates any
configuration problems. Now you can address a specific problem
which is inherent to a Windows 2000 system.


Related to access log entries 0.0.0.0 are these,

"To use the workaround, put the Apache directive Win32DisableAcceptEx
in your httpd.conf file."

http://www.apachelounge.com/forum/viewtopic.php?p=5920


"its all one word. and the word is win32disableacceptex
Thank you! It is working now."

http://www.mail-archive.com/users@ht.../msg18378.html


http://httpd.apache.org/docs/2.2/mod...isableacceptex


Purl Gurl
  #5 (permalink)  
Old 04-06-2007
ao_hueap@excite.co.jp
 
Posts: n/a
Default Re: Can't obtain client's IP address


Purl Gurl $B$N%a%C%;!<%8(B:


> Related to access log entries 0.0.0.0 are these,
>
> "To use the workaround, put the Apache directive Win32DisableAcceptEx
> in your httpd.conf file."
>
> http://www.apachelounge.com/forum/viewtopic.php?p=5920
>
>
> "its all one word. and the word is win32disableacceptex
> Thank you! It is working now."
>
> http://www.mail-archive.com/users@ht.../msg18378.html
>
>
> http://httpd.apache.org/docs/2.2/mod...isableacceptex
>
>
> Purl Gurl


Dear Purl:
Thanks lots for informations. Yes, the problem was completely solved.

Best regards, ABE, Osamu

 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT +1. The time now is 12:50 AM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0