My Oracle Support Banner

OLCNE/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 SEPTEMBER 16, 2020

Applies to:

Oracle Cloud Infrastructure - Version N/A and later
Linux OS - Version Oracle Linux 7.6 with Unbreakable Enterprise Kernel [4.14.35] 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.