Any kubectl command throws "Unhandled Error" err="couldn't get current server API group list: Get "http://localhost:8080/api?timeout=32s": dial tcp [::1]:8080: connect: connection refused" - what do?
Read OriginalThis article provides a troubleshooting guide for a common kubectl error where all commands fail with 'couldn't get current server API group list' and a connection refused on localhost:8080. It explains the likely cause—missing or incorrect Kubernetes cluster context—and offers a solution involving re-running Azure CLI commands to properly fetch and set cluster credentials in the correct terminal session.
Comments
No comments yet
Be the first to share your thoughts!
Browser Extension
Get instant access to AllDevBlogs from your browser
Top of the Week
1
2
Better react-hook-form Smart Form Components
Maarten Hus
•
2 votes
3
AGI, ASI, A*I – Do we have all we need to get there?
John D. Cook
•
1 votes
4
Quoting Thariq Shihipar
Simon Willison
•
1 votes
5
Dew Drop – January 15, 2026 (#4583)
Alvin Ashcraft
•
1 votes
6
Using Browser Apis In React Practical Guide
Jivbcoop
•
1 votes