# Does TCPServer go through cloud, or directly through LAN to client?

**URL:** <https://community.particle.io/t/does-tcpserver-go-through-cloud-or-directly-through-lan-to-client/26013>\
**Category:** General\
**Created:** [September 22, 2016, 12:56pm UTC](https://community.particle.io/t/does-tcpserver-go-through-cloud-or-directly-through-lan-to-client/26013 "2016-09-22T12:56:32Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![douglaskbell](https://avatars.discourse-cdn.com/v4/letter/d/85e7bf/32.png) [@douglaskbell](https://community.particle.io/u/douglaskbell)\
**Post date:** [September 22, 2016, 12:56pm UTC](https://community.particle.io/t/does-tcpserver-go-through-cloud-or-directly-through-lan-to-client/26013/1 "2016-09-22T12:56:32Z")

</div>

I’m just double checking before I implement.  
I assume my Photon TCPSserver connects and communicates with my iPhone TCP client ONLY through my local access point, and DOES NOT go through the Particle cloud.

---

<div class="post-metadata">

**Author:** ![ScruffR](https://sea2.discourse-cdn.com/flex026/user_avatar/community.particle.io/scruffr/32/6952_2.png) [@ScruffR](https://community.particle.io/u/ScruffR)\
**Post date:** [September 22, 2016, 12:59pm UTC](https://community.particle.io/t/does-tcpserver-go-through-cloud-or-directly-through-lan-to-client/26013/2 "2016-09-22T12:59:06Z")

</div>

Exactly!

---

<div class="post-metadata">

**Author:** ![peekay123](https://sea2.discourse-cdn.com/flex026/user_avatar/community.particle.io/peekay123/32/810_2.png) [@peekay123](https://community.particle.io/u/peekay123)\
**Post date:** [September 22, 2016, 12:59pm UTC](https://community.particle.io/t/does-tcpserver-go-through-cloud-or-directly-through-lan-to-client/26013/3 "2016-09-22T12:59:19Z")

</div>

@douglaskbell, your TCPServer opens a TCP port on your photon which your iPhone can communicate with through the internet or your local LAN and does not involve the Particle cloud. 😀
