A question about SOCKSPort statement

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

Thank you.

1 Like

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

2 Likes

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?

1 Like

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)

2 Likes

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?

1 Like

yes, It’ is correct.

1 Like