When using Bitcoin in combination with Tor, to generate a hidden service to allow for inbound connections, it is needed to add torcontrol
like this:
0proxy=1.2.3.4:9050
1torcontrol=1.2.3.4:29501
The problem is that adding torcontrol
results in overriding the proxy
address with 127.0.0.1
and the end-result is that Bitcoin cannot connect to Tor any longer:
connect() to 127.0.0.1:9050 failed after wait: Connection refused (111)
It should have connected to 1.2.3.4 instead.
So why does adding torcontrol
overrides the configured address for proxy
?