Skip to content
This repository has been archived by the owner on Nov 27, 2024. It is now read-only.

Seeking help for "connection to the server localhost:8080 was refused" #253

Open
moonreporter opened this issue Jan 30, 2022 · 1 comment

Comments

@moonreporter
Copy link

Hi all, I am using a windows based PC with PowerShell, I have encountered the following error when trying to use mev inspect with the local development build using Kind. Services are all running fine in Tilt shown in the web browser. Seeking any advice or help you can provide.

PS C:\Users\Analyst\Documents\Blockchain\mev-inspect-py> bash mev inspect 1246461
Inspecting block 1246461
The connection to the server localhost:8080 was refused - did you specify the right host or port?
PS C:\Users\Analyst\Documents\Blockchain\mev-inspect-py> bash mev db
Connecting to mev_inspect
The connection to the server localhost:8080 was refused - did you specify the right host or port?
The connection to the server localhost:8080 was refused - did you specify the right host or port?
The connection to the server localhost:8080 was refused - did you specify the right host or port?
The connection to the server localhost:8080 was refused - did you specify the right host or port?

@jun12zh
Copy link

jun12zh commented Mar 1, 2022

You should config the environment variable KUBECONFIG in WSL.
For example:
export KUBECONFIG=/mnt/c/Users/XXX/.kube/config

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants