Connecting Photon to a local server

Hi, I want to connect my particle photon to a local server. I know it can be done using Manual System Mode and using http, TCP or UDP. However, I am quite new to all this. How do I go about doing this? Is there an example anywhere for connecting to a local server?

Thanks.

Have you tried checking some of these topics?
http://community.particle.io/search?q=tcp%20category%3A13

1 Like

Hi @prasann16, thank you for being new ;).

Iā€™m bit bias here since I wrote the article, but I would like to recommend this GitHub https://github.com/davidgatti/IoT-Raw-Sockets-Examples repo where I explain the basics of TCP, UDP and how to use NodeJS to tie everything together :).

I hope it will be a good read :).

2 Likes