How Photon connects to the Particle Cloud

In order to communicate with the Particle Cloud, the Photon opens a persistent TCP socket with the Spark Cloud using an encrypted version of CoAP through outgoing port 5683 on your network. CoAP stands for “Constrained Application Protocol”, and is basically a byte efficient version of HTTP for use in constrained environments, like on itty bitty hardware.

Does that help to answer your question?

PS:
The search function does in fact work.