# Protocols

NetNut proxies support HTTP/HTTPS/ SOCKS5 protocols.

**HTTP**

The code examples in the documentation use the HTTP protocol, which is supported by most libraries and third-party software.

**HTTPS**

For added security with a fully encrypted connection you can use the HTTPS protocol by adding https\:// to the proxy gateway, for example:

<mark style="color:blue;">`curl`</mark>`-x USERNAME-stc-any:PASSWORD@https://gw.netnut.net:5959 "example.site.com"`

Note: Some libraries and third-party tools may not support the HTTPS protocol.

**SOCKS5**

To use the SOCKS5 protocol, add socks5h to the proxy gateway, for example:

<mark style="color:blue;">`curl`</mark>`-x USERNAME-stc-any:PASSWORD@socks5h://gw.netnut.net:9595 "example.site.com"`

Note: Some websites may identify a proxy IP when using the SOCKS5 protocol.

&#x20;

Default proxy ports

| Port | Protocol |
| ---- | -------- |
| 80   | HTTP     |
| 443  | HTTPS    |
| 9595 | SOCKS5   |


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://help.netnut.io/netnut-documentation/netnut-proxies/static-residential-proxies/protocols.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
