I'm trying to access my tor server with python with the module torpy, but it didn'y worked. It continue sayying that the server is not reachable, but with tor I can connect with it.
I've tryied this code:
from torpy import TorClient hostname = url with TorClient() as tor: with tor.create_circuit(3) as circuit: with circuit.create_stream((hostname)) as stream: stream.send(b'hello') stream.close() print('done')
this is the code of the client, maybe I have to change even the server's code or the torrc file?*