Executing a Call to UTL_INADDR.GET_HOST_ADDRESS Returns The IP Address As ::1

(Doc ID 1536594.1)

Last updated on MAY 04, 2018

Applies to:

PL/SQL - Version 11.2.0.1 and later
Information in this document applies to any platform.

Symptoms

Executing a call to UTL_INADDR package to get the host address of the database machine is not returning the correct IP address as expected.

For Example:

 

Changes

 

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