[SOLVED]TCP/IP problems on photon

Dear Forum,

I don’t hope to bother you with general WLAN issues; however I am experiencing strange behavior when trying to communicate both via intranet and internet over TCP/IP sockets on my Photon.
My photon should stream sensor data via WLAN/TCP/IP to my PC (python 2.7 socket script).

I flash apps via the web interface, so the general setup should be fine. I can ping my photon from my PC - but not the other way around! Ports on my router are not blocked. Moreover, my photon also can’t ping google (example in the reference). UDP broadcast to the photon work well.

I am very grateful for any hint!

Tobias

1 Like

When you connect using the TCPClient, do you specify the destination using the IPAddress macro (4 byte array) or a String? Just trying to rule out a DNS issue.

1 Like

Dear Rikkas,

thank you so much for your help. Actually the problem is solved and I am happy with my particle now. However, I can’t tell what caused the problem. After a couple of restarts of my host computer and my PC, everything worked as it should…

Tobias

1 Like