Our documentation includes code examples showcasing how to connect to the proxies using
HTTPprotocol. The protocol is supported by common libraries and third-party software.
You can also use the fully encrypted connection using
HTTPSprotocol for an extra layer of security. For that, you have to add
https://to your proxy entry point. For example:
https://pr.oxylabs.io:7777(this also applies to country specific entry nodes).
Please note that some libraries (or their older versions) and some 3rd party tools may not support
HTTPSprotocol, so double-check before making changes to your code.
SOCKS5protocol, you have to add
socks5hin your request, for example:
curl -x socks5h://pr.oxylabs.io:7777 -U "customer-USERNAME:PASSWORD" ip.oxylabs.io/location
Please note that at the moment,
SOCKS5protocol does not support country specific entry nodes. You can target specific locations by adding additional parameters in your username. Here is a sample of targeting France:
curl -x socks5h://pr.oxylabs.io:7777 -U "customer-USERNAME-cc-FR:PASSWORD" ip.oxylabs.io/location
Note that some websites may identify a proxy IP when using the
SOCKS5protocol. We highly suggest switching to an alternative protocol in such instances.
The default configuration of proxy ports includes
443, which are standard ports designed to accommodate the
HTTPSprotocols, as outlined in the table below. To access other ports, it is necessary to undergo compliance verification, please contact our support.