Unable to connect to the server: dial tcp [::1]:8080: connectex: No connection could be made because the target machine actively refused it

Mani

Am working on Azure Kubernates where we can store Docker Images in Azure. Here am trying to check my kubectl version, then am getting

Unable to connect to the server: dial tcp [::1]:8080: connectex: No connection could be made because the target machine actively refused it.

For this I followed MSDN:uilding Microservices with AKS and VSTS – Part 2 and MSDOCS:Kubernetes on windows

So, can you please suggest me “How to resolve for this issue?”

Pradeep

I think you might missed out to configure the cluster, for that you need to run the below command in your command prompt.

az aks get-credentials --resource-group myResourceGroup --name myAKSCluster

The above CLI command creates .config file with complete cluster and nodes details in your local machine.

After that you run kubectl get nodes command in your command prompt, then you can get the list of nodes inside the cluster like in the below image.

enter image description here For reference follow this Deploy an Azure Kubernetes Service (AKS) cluster.

Collected from the Internet

Please contact [email protected] to delete if infringement.

edited at
0

Comments

0 comments
Login to comment

Related

dial tcp [::1]:6397: connectex: No connection could be made because the target machine actively refused it

Unable to connect to the remote server: No connection could be made because the target machine actively refused it

Unable to open tcp connection. No connection could be made because the target machine actively refused it. exit status 1

SQLSTATE[08001]: [Microsoft][ODBC Driver 13 for SQL Server]TCP Provider: No connection could be made because the target machine actively refused it

No connection could be made because the target machine actively refused it 127.0.0.1:10000

No connection could be made because the target machine actively refused it. (10061)

EmailMultiAlternatives no connection could be made because the target machine actively refused it

No connection could be made because the target machine actively refused it 127.0.0.1

PHP Laravel: No connection could be made because the target machine actively refused it

Postgresql: No connection could be made because the target machine actively refused it

SignalR Error "No connection could be made because the target machine actively refused it"

Django Python - No connection could be made because the target machine actively refused it

"No connection could be made because the target machine actively refused it" connecting to VerneMQ

Network Error: No connection could be made because the target machine actively refused it

No connection could be made because the target machine actively refused it 127.0.0.1:8118

No connection could be made because the target machine actively refused it 127.0.0.1:25

"No connection could be made because the target machine actively refused it"

No connection could be made because the target machine actively refused it Golang

No connection could be made because the target machine actively refused it-- How can i check if my server is running and client is able to connect

No connection could be made because the target machine actively refused it TCP:0 Visual Studio

Warning: mysql_connect(): No connection could be made because the target machine actively refused it

No connection could be made because the target machine actively refused it. connect(2) for "127.0.0.1" port 9515 (Errno::ECONNREFUSED)

mysqli_connect(): (HY000/2002): No connection could be made because the target machine actively refused it

arning: mysqli_connect(): (HY000/2002): No connection could be made because the target machine actively refused it

Visual Studio Azure SQL Server: no connection could be made because the target machine actively refused it

1 PDOException::("SQLSTATE[HY000] [2002] No connection could be made because the target machine actively refused it

Mongodump connection refused error: No connection could be made because the target machine actively refused it

Unable to run Kubernetes (kubectl) and Minikube on windows 10. Unable to connect to the server: dial tcp [::1]:8080: connectex:

No connection could be made because the target machine actively refused it [http://127.0.0.1:8000/auth/login]