What exactly is the UTL_HTTP (ORACLE) SET_PROXY Proxy

Asked

Viewed 287 times

1

utl_http.set_proxy(http://pgau:abcd@[email protected]:5678');

In this example what exactly this Proxy address ?

I tried the internal IP and it didn’t work , the below my company said not to have "external proxy".

Source

Grateful.

1 answer

2

Like the package utl_http is used to access data through the Internet, if you are accessing the Internet through a proxy, in a company for example where this is quite common, the commands of the utl_http will fail because they try to access the network directly.

Then the set_proxy serves to inform the package utl_http the settings of proxy so that it can access the network, as the server address proxy and authentication credentials (user and password), that’s all.

The most common format is tul_http.set_proxy('http://102.168.12.12:5678'), that is, the address (can be IP) and the port, when there is no authentication.

If there is authentication, need to inform user and password before, address, separated by arroba: utl_http.set_proxy('http://usuario:[email protected]:5678')

Examples from here: https://community.oracle.com/thread/1126855

EDIT: in his case: http://pgau:abcd@[email protected]:5678', means:

user: pgau
password: abcd
proxy server: 102.168.12.12
door: 5678

If you don’t have one proxy, no need to make this configuration

  • Thank you, I will test and return here.

  • I bumped into hptts , need to install a Wallet component , as just replicate an existing function stopped by hour.

Browser other questions tagged

You are not signed in. Login or sign up in order to post.