Need details about Kube config

I am getting below error when I try to execute “kubectl config view”
++++++++++

kubectl get nodes

E0610 11:42:56.400958 42086 memcache.go:265] couldn’t get current server API group list: Get “http://localhost:8080/api?timeout=32s”: dial tcp [::1]:8080: connect: connection refused
++++++++++

This is my config file

+++++

kubectl config view

apiVersion: v1
clusters:

  • cluster:
    proxy-url: https://NNN.NN.NNN.NN
    server: https://NNN.NN.NNN.NN
    name: e2e
    contexts:
  • context:
    cluster: development
    namespace: ramp
    user: developer
    name: dev-ramp-up
    current-context: “”
    kind: Config
    preferences: {}
    users: null

+++++

Please assist.