How to get data from device on private cloud?

I’m using a Photon and I know that I can expose a variable to the particle cloud with Spark.variable() and then get that anytime I want with the link.

How would I do this with my own private cloud? I can send HTTP requests to my private cloud but I’m not sure I understand how my cloud can ping my device for data.

Are you using spark-server (local cloud)?

@AshtonJ, honestly I’m not sure what that is. Is that an instance of the Spark (Particle) cloud running on my own cloud? If that’s the case, then no. I’m running a Windows server (not apache).

Would the TCPServer functions help me out here?