Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 8026

Networking and servers • Re: Start up script to run a tcp connection

$
0
0
We need to see both your .service file and your code in order to offer anything concrete.

In the mean time, do the usual:
  • Look in the systemd journal for related errors
  • Stop suppressing errors in your code (for pyhton stop using try:... except: pass)
  • Add debugging output to your code
  • Have youur cde write to a log file
  • Test networking between the two Pi is functional both after login and at the point at which you scripts are run.
  • Make sure you're using a port number greater than 1024.

Statistics: Posted by thagrol — Sun Apr 06, 2025 5:25 pm



Viewing all articles
Browse latest Browse all 8026

Trending Articles