0
I have raised tor in a virtual machine in centos, I am using python in a program from windows, I want my python program to connect to the tor instance of the server but I can not make it work:
program.py
proxy = {
'http': 'socks5h://192.168.1.200:9050',
'https': 'socks5h://192.168.1.200:9050'
}
url = requests.get(urls, verify=True, headers=headers, proxies=proxy)
It returns the following error:
Traceback (most recent call last):
File "C:\Users\Administrador\AppData\Local\Programs\Python37-32\lib\site-packages\socks.py", line 787, in connect
super(socksocket, self).connect(proxy_addr)
ConnectionRefusedError: [WinError 10061] No se puede establecer una conexión ya que el equipo de destino denegó expresamente dicha conexión
I have a firewall down and selinux down,someone knows what's up