# Protocols

NetNut proxies support HTTP/HTTPS/ SOCKS5 protocols:

&#x20;**HTTP**

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

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

**HTTPS / SOCKS5**

For added security with a fully encrypted connection, you can use the HTTPS / SOCKS5 protocols by adding socks5h:// to the proxy gateway, for example:

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

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

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   |

&#x20;
