Skip to content

It is impossible to switch off binding for Tor #22726

@vasild

Description

@vasild

Bitcoin Core, by default, would bind to 127.0.0.1:8334 and treat incoming connections on that port as coming from the Tor network. It is not possible to disable that extra bind - only to change it to another address:port with the -bind=...=onion option.

Expected behavior

It must be possible to disable the extra bind if it is not needed.

A workaround is to specify an address:port to which the bind fails, e.g. -bind=1.1.1.1:1=onion. The bind error is logged and ignored. Another workaround is to use -listen=0, but that prevents normal -bind=....

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions