server.port

INTEGER, read-only.

Available in all subroutines.

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.