Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

why connection always gets refused?

Tags:

python

rpyc

I am trying to connect machine using the RPyC but it always says that connection refused.

I did on the python shell

import rpyc
rpyc.connect("hostname", port)

but it says connection refused. checked the firewall for the port. firewall allow this port.

like image 884
Sagar Avatar asked Jan 24 '26 03:01

Sagar


1 Answers

Try using the exact same versions of both python and rpyc on client and server !

like image 111
Vahid Joudakian Avatar answered Jan 25 '26 17:01

Vahid Joudakian



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!