# Proxy port

A proxy port is the TCP port on which a proxy listens; providers usually run one port per protocol on the same hostname, for example 9000 for HTTP(S) and 9001 for SOCKS5, and sometimes dedicate port ranges to sticky sessions or countries. The port does not change the exit or the price; it only decides which protocol the client speaks to the gateway.


## Two conventions

- **One port per protocol, parameters in the username** (ProxShift, several others): simplest to configure, unlimited sessions.
- **Port ranges**: each port maps to a fixed session or location (port 10001 = session 1…). Works with tools that cannot edit usernames, but caps the number of parallel sessions to the size of the range.


## Ports on dedicated addresses

Static ISP and datacenter addresses are delivered as `ip:port` with their own ports for HTTP and SOCKS5, distinct from the gateway ports; a list may therefore mix two port numbers per address.


## How it works at ProxShift

ProxShift uses port 9000 (HTTP/S) and 9001 (SOCKS5) on both gateways, and ports 8000 (HTTP/S) and 8001 (SOCKS5) on every dedicated address. Sessions are chosen in the username, so there is no port range to manage.

Source: https://proxshift.com/glossary/proxy-port
