You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Add support for hostname(like "tor-container", or "localhost") as address parameter in Controller.from_port
Currently address parameter only supports ipv4 address.
It is useful when Tor is running in one Docker container, but the Stem connection establishing from another container.
example:
from stem.control import Controller
address="127.0.0.1"
# address="localhost" add support for this, currently this throws an exception
with Controller.from_port(address=address, port=9051) as controller:
...
The text was updated successfully, but these errors were encountered:
Add support for hostname(like "tor-container", or "localhost") as
address
parameter inController.from_port
Currently
address
parameter only supports ipv4 address.It is useful when Tor is running in one Docker container, but the Stem connection establishing from another container.
example:
The text was updated successfully, but these errors were encountered: