In JetBrains TeamCity before 2025.11 port enumeration was possible via the Perforce connection test
CVSS Metrics