$environment->port() Returns the correct port number kirby/src/Http/Environment.php#L865 $environment->port(): int|null Return types int|ornull Parent class Kirby\Http\Environment