Error initializing issuer: error reading Kubernetes service account token

Issue: Error initializing issuer: error reading Kubernetes service account token

am just following https://learn.hashicorp.com/vault/kubernetes/cert-manager
but, getting error while configure issuer.

Status:
  Conditions:
    Last Transition Time:  2020-05-27T10:10:33Z
    Message:               Failed to initialize Vault client: error reading Kubernetes service account token from issuer-token-m7bfn: error calling Vault server: Post "http://vault.default/v1/auth/kubernetes/login": dial tcp 10.8.1.166:80: i/o timeout
    Reason:                VaultError
    Status:                False
    Type:                  Ready
Events:
  Type     Reason         Age   From          Message
  ----     ------         ----  ----          -------
  Warning  ErrInitIssuer  15s   cert-manager  Error initializing issuer: error reading Kubernetes service account token from issuer-token-m7bfn: error calling Vault server: Post "http://vault.default/v1/auth/kubernetes/login": dial tcp 10.8.1.166:80: i/o timeout

How to fix. ?

Thanks

Are you running Vault on port 80? It usually is on port 8200.

Yes, using 8200 port only

I asked if you’re running Vault on port 80 and you say “yes” - but using port 8200. What port is Vault running on?
The error is trying to hit Vault on 80:
Post "http://vault.default/v1/auth/kubernetes/login": dial tcp 10.8.1.166:80: i/o timeout

That’s right, vault am running on 8200 port, but as per document https://learn.hashicorp.com/vault/kubernetes/cert-manager followed, here not mentioned any port on issuer.

Create an Issuer, named vault-issuer , that defines Vault as a certificate issuer.

$ cat <<EOF | kubectl apply -f -
apiVersion: cert-manager.io/v1alpha2
kind: Issuer
metadata:
  name: vault-issuer
  namespace: default
spec:
  vault:
    server: http://vault.default
    path: pki/sign/example-dot-com
    auth:
      kubernetes:
        mountPath: /v1/auth/kubernetes
        role: issuer
        secretRef:
          name: $ISSUER_SECRET_REF
          key: token
EOF
issuer.cert-manager.io/vault-issuer created