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

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

**Available in:** 

The local TCP port number on which this caching server received
the HTTP or HTTPS request.

This will be 80 for HTTP requests and 443 for HTTPS requests.
