My Oracle Support Banner

Ora-24247: Network Access Denied By Access Control List (Acl) Using localhost as SMTP Server Name (Doc ID 1348855.1)

Last updated on MARCH 04, 2022

Applies to:

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


After upgrading the database from to, sending email using the UTL_SMTP packages are giving error: ORA-24247: network access denied by access control list (ACL) while using SMTP_HOST as localhost.

The same code is working fine if using SMTP_HOST as a physical name such as


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

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.