---
title: client.port
summary: null
url: >-
  https://www.fastly.com/documentation/reference/vcl/variables/client-connection/client-port
---

**Type:** INTEGER  
**Access:** read-only

**Available in:** all subroutines

Returns the remote client port. This could be useful as a seed that returns
the same value both in an ESI and a top-level request. For example, you could
hash `client.ip` and `client.port` to get a value
used both in ESI and the top level request.
