Skip to content
Get Started
G2G2
4.7/5
Excellent
Trustpilot

What Is a Port Number?

A port is a number from 0 to 65535 that tells a computer which program or service an incoming connection is meant for. An IP address finds the machine; the port finds the service on it, such as 443 for HTTPS.

  • Session Control
  • High Speed
  • Privacy First
Best fit for PortStatic ISP Proxiesfrom$0.75/IP
how it works

How ports work

TCP and UDP both use 16-bit port numbers. A connection is identified by five values: source IP, source port, destination IP, destination port and protocol. Servers listen on fixed ports; your client picks a temporary (ephemeral) port for its side of each connection, which is how one laptop holds hundreds of connections at once.

IANA divides the range into well-known ports (0-1023), registered ports (1024-49151) and dynamic or private ports (49152-65535).

  • 1

    80

    Service
    HTTP
    Where you meet it
    Unencrypted websites
  • 2

    443

    Service
    HTTPS
    Where you meet it
    Almost every website and API
  • 3

    53

    Service
    DNS
    Where you meet it
    Name lookups
  • 4

    22

    Service
    SSH
    Where you meet it
    Server logins
  • 5

    1080

    Service
    SOCKS
    Where you meet it
    The conventional SOCKS proxy port
  • 6

    3128 / 8080

    Service
    HTTP proxies
    Where you meet it
    Common proxy and web-cache defaults
in practice

What a proxy port is

A proxy listens on a port of its own, and your client connects there instead of to the website. There is no standard proxy port: providers pick one and give it to you with the host, often as HOST:PORT:USERNAME:PASSWORD. The port only describes how you reach the proxy; the site you visit is still on 443 or 80.

CleanProxies lists the host and port for every proxy in the dashboard. Static ISP proxies accept HTTP(S) or SOCKS5 on the port shown for your order.

Port: key points
  • Connection refused means nothing listens on that host and port: check the port number in your proxy list.
  • A timeout often means a firewall on your side blocks outgoing traffic to unusual ports; corporate networks commonly do.
  • Use the same proxy port for http:// and https:// sites. The client tunnels HTTPS through it with CONNECT.
  • Some providers encode options such as session or location in the port; others put them in the username.
Is the proxy port reachable?Shell
nc -vz HOST PORT
# Connection to HOST port PORT [tcp/*] succeeded!

curl -x http://USERNAME:PASSWORD@HOST:PORT -I https://example.com

Static ISP proxies from $0.75/IP

The CleanProxies proxy that fits best here, with a $4.99 trial to test it first.

Dedicated IPs on US carrier ASNs with unlimited bandwidth and threads, never shared.

starting from$0.75/IP

Dedicated static IPs registered to US and Canadian ISPs. The address stays the same for as long as you hold it, with unlimited bandwidth and HTTP(S) or SOCKS5 access.

Guides from the blog

Setup guides and best practices from the CleanProxies blog.

Get the latest insightsAll Blogs

Related terms

Terms that come up alongside Port.

All glossary terms

Port FAQs

Straight answers about Port.

A number from 0 to 65535 that identifies a service on a machine, so the operating system knows which program should receive a connection.

Got more questions?All FAQs