My Oracle Support Banner

OCNE/OCSK: New User Failed to Run Kubectl with Error "The connection to the server xxx.xxx.xxx was refused - did you specify the right host or port?" (Doc ID 2366085.1)

Last updated on JUNE 30, 2023

Applies to:

Oracle Cloud Native Environment (OCNE) - Version 1.0 and later
Linux x86-64

Symptoms

When running kubectl from a new created user, failed with error:

The connection to the server xxx.xxx.xxx was refused - did you specify the right host or port?

Changes

Using new user for Kubernetes administration.

Cause

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


In this Document
Symptoms
Changes
Cause
Solution


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.