Browse Source

Changed default local Tor proxy host from 'localhost' to '127.0.0.1'

master
B.J. Dweck 1 year ago
parent
commit
8bc211d413
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      torch_agent/torch_agent.py

+ 1
- 1
torch_agent/torch_agent.py View File

@ -35,7 +35,7 @@ def main():
print("Reading configuration file at '%s'" % (configuration_file_path))
config.read(configuration_file_path)
tor_proxy_host = config['tor'].get('ProxyHost', fallback="localhost")
tor_proxy_host = config['tor'].get('ProxyHost', fallback="127.0.0.1")
tor_proxy_port = config['tor'].getint('ProxyPort', fallback=9050)
tor_controller_port = config['tor'].getint('ControllerPort', fallback=9051)

Loading…
Cancel
Save