Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
Dev1969 opened this Issue Oct 13, 2017 · 8 comments

Comments

Projects
None yet
10 participants
@Dev1969
Copy link

commented Oct 13, 2017

Hello Experts,

I want to learn Kubernetes and installed it on my laptop that is running Windows 10.

Installed:
minikube using minikube-installer
python-3.6.3
Git-2.14.2.2-64-bit
VirtualBox-5.1.28-117968-Win
kubectl

Install went fine. In the firewall Exception list, I have put minikube and kubectl.

I am getting below error

kubectl version
Client Version: version.Info{Major:"1", Minor:"8", GitVersion:"v1.8.0", GitCommit:"6e937839ac04a38cac63e6a7a306c5d035fe7b0a", GitTreeState:"clean", BuildDate:"2017-09-28T22:57:57Z", GoVersion:"go1.8.3", Compiler:"gc", Platform:"windows/amd64"}

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

What could be possible reason for this error? How to fix it?

Please let me know what all information you need to help me on this. I searched for other similar issues but that did not help much.

Thank you in advance.

Regards,
Dev

@dims

This comment has been minimized.

Copy link
Member

commented Oct 30, 2017

/sig windows

@ddlaat

This comment has been minimized.

Copy link

commented Oct 31, 2017

+1

@andyzhangx

This comment has been minimized.

Copy link
Member

commented Nov 2, 2017

AFAIK, k8s could run on windows 2016 server. Could your win10 run docker service successfully? I think you could run "docker run -d microsoft/aspnet", try a windows container first.

@rjmorse

This comment has been minimized.

Copy link

commented Jan 29, 2018

This doesn't look related to running Kubernetes on Windows, but getting Minikube running inside a VM on Windows. This should probably be closed in favor of creating a new question on Stack Overflow, or finding one that is already answered.

A number of related troubleshooting issues exist: https://stackoverflow.com/search?q=%5Bminikube%5D+windows

@fejta-bot

This comment has been minimized.

Copy link

commented Apr 29, 2018

Issues go stale after 90d of inactivity.
Mark the issue as fresh with /remove-lifecycle stale.
Stale issues rot after an additional 30d of inactivity and eventually close.

If this issue is safe to close now please do so with /close.

Send feedback to sig-testing, kubernetes/test-infra and/or fejta.
/lifecycle stale

@akochnev

This comment has been minimized.

Copy link

commented May 2, 2018

I just ran into this issue with VirtualBox, and without minikube.

/assign @akochnev

@akochnev

This comment has been minimized.

Copy link

commented May 8, 2018

I looked a bit further into my issue, and it turned out that I had a different issue of kubectl not being properly configured with a kubeconfig that points to an actually running API server.

@Dev1969 - there could be many issues that could be causing this issue for you, including the api server not running, kubectl on your windows machine not being configured correctly, and that's on top of networking issues in your VirtualBox setup. Without further details (logs , etc) it would not be possible to further diagnose this issue. As previously mentioned, this is unlikely to be windows (or sig-windows) related.

With that, it does seem like this issue should be closed . @michmike - can you please close this issue to reduce clutter ?

@michmike

This comment has been minimized.

Copy link
Contributor

commented May 8, 2018

/close

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.