View: 982|Reply: 0

RaspArm 04TCP_serv

[Copy link]

1

Threads

1

Posts

5

Credits

Newbie

Rank: 1

Credits
5
Post time 2021-10-23 08:48:37 | Show all posts |Read mode
Hey y'all,

Newbie here - really loving building this. Having trouble getting the tcpPC.py application to run.

I'm specifically getting an error on line 38 in the code when I try to run in Thonny.

  1. tcpClicSock.connect (ADDR)
  2. ConnectionRefusedError: [Errno 111] Connection refused
Copy the Code

I'm running everything locally through the Raspberry Pi with no MobaXterm , could that be the issue?
I've double check the IP address multiple times, used everything that's come out of running the hostname -I command as well as local 127.0.1.1

Server port I've been using across both tcpPC.py and tcpPI.py is 10225

Any ideas on why the connection is being refused?


Reply

Use magic Report

You have to log in before you can reply Login | Sign Up

Points Rules