ORA-12541 when running UTL_HTTP Package with localhost:port or 127.0.0.1:port (Doc ID 1953648.1)

Last updated on AUGUST 21, 2016

Applies to:

Oracle Net Services - Version 11.2.0.1 and later
Information in this document applies to any platform.

Symptoms

ORA-12541 "no listener" errors when running UTL_HTTP calls locally:

 
However, TNS Listener is running and servicing SQL*Net connections.

Also, running UTL_HTTP.REQUEST against a general site (such as oracle.com) works fine.
Test steps from Doc ID 230917.1 all succeed.

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