SYS_CONTEXT('USERENV','IP_ADDRESS') Doesn'T Return Ipv4 Address When Ipv6 is Enabled
(Doc ID 1175504.1)
Last updated on AUGUST 04, 2018
Applies to:Oracle Server - Enterprise Edition - Version: 18.104.22.168
Information in this document applies to any platform.
select sys_context('USERENV','IP_ADDRESS') from dual;
returns the correct IPv4 Address
With the 22.214.171.124 listener the result is "::ffff:10.16.120.165".
The listener.ora files are identical for the 11.1 and 11.2 listeners.
To view full details, sign in with your My Oracle Support account.
Don't have a My Oracle Support account? Click to get started!
In this Document