diff --git a/client/tailscale/localclient.go b/client/tailscale/localclient.go index 4c8c25ef9..67bd0c5cf 100644 --- a/client/tailscale/localclient.go +++ b/client/tailscale/localclient.go @@ -103,7 +103,7 @@ func (lc *LocalClient) defaultDialer(ctx context.Context, network, addr string) return d.DialContext(ctx, "tcp", "127.0.0.1:"+strconv.Itoa(port)) } } - return safesocket.Connect(lc.socket()) + return safesocket.ConnectContext(ctx, lc.socket()) } // DoLocalRequest makes an HTTP request to the local machine's Tailscale daemon.