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

Last updated on MAY 31, 2016

Applies to:

PL/SQL - Version and later
Information in this document applies to any platform.
***Checked for relevance on 31st May 2016***


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 mail.test.com.


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