whenever I use curl it tries to connect to tor service by default. my tor service is turned off and network proxy is disabled in network settings.
here is the output of the command
curl: (7) Failed to connect to 127.0.0.1 port 9050: Connection refused
I didn't change any configuration of curl to use Tor.
my OS is ubuntu 17.10
How can I fix it?