CloudStack components communicate across multiple networks and ports.


Port Summary Table

Source / TargetPort(s)Purpose / Description
User → Management Server8080 / 8096CloudStack UI / API
Management Server ↔ Management Server9090 / 8250Clustered management coordination
Management Server ↔ MySQL3306Database connection
CPVM ↔ Management Server8250Console proxy and control communication
SSVM ↔ Management Server8250Secondary storage operations (template, ISO, snapshot jobs)
Virtual Router ↔ Management Server3922SSH control and configuration
SSVM ↔ Secondary Storage (NFS)111 / 2049NFS mount and data transfer
CPVM ↔ Hypervisors22 / 443Console proxy, authentication, and HTTPS access
SSVM ↔ HTTP File Share80 / 443Template and ISO downloads
User Browser ↔ CPVM443 / 80HTTPS console access for VM consoles
Management Server ↔ Xen Hosts22 / 80 / 443Agent management, API communication
Management Server ↔ KVM Hosts22Agent setup via SSH
Management Server ↔ vCenter (ESXi)443vCenter API communication
Virtual Router ↔ Secondary Storage111 / 2049Template and snapshot copy operations

Accessing System VMs (CPVM / SSVM / VR)

CloudStack deploys system VMs (such as CPVM, SSVM, and Virtual Routers) with an isolated link-local IP and restricted SSH access.
You can connect to these from the Management Server using the CloudStack SSH key located at /root/.ssh/id_rsa.cloud.

Example:

root@cs-user-lab:~# ssh -i /root/.ssh/id_rsa.cloud -p 3922 root@169.254.221.107

This connects to the System VM (CPVM, SSVM, or VR) via the link-local network using the 3922 port.