Assuming localhost
is the host
on which Docker is running to support minikube
or kind
based Kubernetes
nodes, you need to use host.docker.internal:3128
as the proxy, instead of localhost:3128
. This issue is relevant.
For minikube
, host.minikube.internal:3128
would also work. More information here.