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

master
B.J. Dweck 2020-10-22 08:51:01 +02:00
parent 67758f6eb3
commit 8bc211d413
1 changed files with 1 additions and 1 deletions

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)