A question about SOCKSPort statement

Hello,
What happens if I delete SOCKSPort IP:Port statement? What IP address does Tor listen to?

Thank you.

The man page says the default value is 9050, so it should bind localhost:9050.
You can set SocksPort 0 to disable the SocksPort entirely

1 Like

Hello,
Thank you so much for your reply.
So, If I don’t want to set up a Tor proxy or a Tor bridge, then I can delete this line. Am I right?

this line is used to configure tor as a client, to which local process can connect. If you remove it, assuming you were already using localhost:9050, not much should change. If you were not using the default value, and you remove this line, local processes will fail to connect to Tor.
Tor relays/bridges don’t use that configuration option (or rather, they can, and they are then behaving both like a relay/bridge and a client, at once)

1 Like

Hello,
Thanks again.
So, the SocksPort IP:Port statement is mandatory to use the Tor as a client or launch a Tor proxy server. Right?

yes, It’ is correct.