REMOTE HOST IP ADDRESS DISPLAYED AS "::" OR "0.0.0.0" IN ACCESS_LOG (Doc ID 862880.1)

Last updated on DECEMBER 02, 2016

Applies to:

Oracle HTTP Server - Version: 10.1.3.1.0 and later   [Release: AS10gR3 and later ]
HP-UX Itanium

Symptoms

  • Oracle HTTP Server 10.1.3.1.0
  • Installed from Oracle Application Server 10.1.3 Companion CD
  • Remote Host IP Address is not displayed correctly in ORACLE_HOME/ohs/logs/access_log
Out of the box installation displays the IP address as "::" e.g.

:: - - [03/Jul/2009:10:44:13 +0000] "GET / HTTP/1.1" 200 14684
:: - - [03/Jul/2009:10:44:14 +0000] "GET /ohs_images/portals.css HTTP/1.1" 200 14795
:: - - [03/Jul/2009:10:44:14 +0000] "GET /ohs_images/9iAShome_banner_2.gif HTTP/1.1" 200 6505
:: - - [03/Jul/2009:10:44:14 +0000] "GET /ohs_images/space.gif HTTP/1.1" 200 43
:: - - [03/Jul/2009:10:44:14 +0000] "GET /Tab_files/green-green.gif HTTP/1.1" 200 952


If the httpd.conf file is modified to set the Listen directive with an IPv4 address, the IP address displays as 0.0.0.0 e.g.

Listen 172.19.3.17:8780

Returns

0.0.0.0 - - [03/Jul/2009:10:44:13 +0000] "GET / HTTP/1.1" 200 14684
0.0.0.0 - - [03/Jul/2009:10:44:14 +0000] "GET /ohs_images/portals.css HTTP/1.1" 200 14795
0.0.0.0 - - [03/Jul/2009:10:44:14 +0000] "GET /ohs_images/9iAShome_banner_2.gif HTTP/1.1" 200 6505
0.0.0.0 - - [03/Jul/2009:10:44:14 +0000] "GET /ohs_images/space.gif HTTP/1.1" 200 43
0.0.0.0 - - [03/Jul/2009:10:44:14 +0000] "GET /Tab_files/green-green.gif HTTP/1.1" 200 952

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms