9000
and 8000
TCP ports are exposed. We used to serve the UI and the Portainer API from port 9000
, but we extended the API to allow the remote agents to poll for instructions. Port 8000
is a TLS tunnel server used to create a secure tunnel between the agent and the Portainer instance. More about that soon.-e EDGE_INSECURE_POLL=1
flag. If you do not deploy the Edge Agent with this flag, the agent won't be able to communicate with the Portainer instance.8000
is the default).abc123
. Do you need me right now?”. Portainer checks its database to ensure the Edge UUID and the join token match. If no UUID can be associated with the join token provided, Portainer will associate the UUID provided by the agent to the environment’s join token.8000
to the Portainer instance. If a remote environment is a swarm cluster, every node will run an instance of the agent (and every instance will poll Portainer). The 'you are required' flag causes the first agent in the cluster to establish the tunnel. Once in place, Portainer can then query the agent where the tunnel is open. If the tunnel closes for any reason, the agent will immediately re-establish it.