# 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-mob-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-mob-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   |
