[warn] Could not bind to IP:PORT: Cannot assign requested address

Hello,
My Tor configuration is:

SocksPort 0.0.0.0:9050
RunAsDaemon 1
DataDirectory /var/lib/tor

VirtualAddrNetwork 10.192.0.0/10
AutomapHostsOnResolve 1
DNSPort 10.10.0.1:53530
TransPort 10.10.0.1:9040

When I use tor command, then I got the following error message:

Jan 07 02:41:21.229 [notice] Read configuration file "/etc/tor/torrc".
Jan 07 02:41:21.232 [notice] You configured a non-loopback address '10.10.0.1:53530' for DNSPort. This allows everybody on your local network to use your machine as a proxy. Make sure this is what you wanted.
Jan 07 02:41:21.233 [notice] You configured a non-loopback address '10.10.0.1:9040' for TransPort. This allows everybody on your local network to use your machine as a proxy. Make sure this is what you wanted.
Jan 07 02:41:21.239 [warn] You specified a public address '0.0.0.0:9050' for SocksPort. Other people on the Internet might find your computer and use it as an open proxy. Please don't allow this unless you have a good reason.
Jan 07 02:41:21.239 [notice] You configured a non-loopback address '10.10.0.1:53530' for DNSPort. This allows everybody on your local network to use your machine as a proxy. Make sure this is what you wanted.
Jan 07 02:41:21.240 [notice] You configured a non-loopback address '10.10.0.1:9040' for TransPort. This allows everybody on your local network to use your machine as a proxy. Make sure this is what you wanted.
Jan 07 02:41:21.240 [notice] Opening Socks listener on 0.0.0.0:9050
Jan 07 02:41:21.241 [notice] Opened Socks listener connection (ready) on 0.0.0.0:9050
Jan 07 02:41:21.241 [notice] Opening DNS listener on 10.10.0.1:53530
Jan 07 02:41:21.242 [warn] Could not bind to 10.10.0.1:53530: Cannot assign requested address
Jan 07 02:41:21.242 [notice] Opening Transparent pf/netfilter listener on 10.10.0.1:9040
Jan 07 02:41:21.243 [warn] Could not bind to 10.10.0.1:9040: Cannot assign requested address
Jan 07 02:41:21.243 [notice] Closing partially-constructed Socks listener connection (ready) on 0.0.0.0:9050
Jan 07 02:41:21.244 [warn] Failed to parse/validate config: Failed to bind one of the listener ports.
Jan 07 02:41:21.244 [err] Reading config failed--see warnings above.

Why?

Thank you.

Hello,
Problem solved. The problem was that there was no NIC (OpenVPN TUN) with IP address 10.10.0.1.

1 Like

This topic was automatically closed 24 hours after the last reply. New replies are no longer allowed.