server.port

INTEGER, read-only.

Available inall 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.

User contributed notes

BETA

Do you see an error in this page? Do have an interesting use case, example or edge case people should know about? Share your knowledge and help people who are reading this page! (Comments are moderated; for support, please contact support@fastly.com)