Skip to content

Error for kubectl Port Forwarding ​

Symptom ​

When executing kubectl port-forward, you get the following error:

bash
Unable to listen on port ... bind: address already in use

Cause ​

Port forwarding failed because the local port is already reserved by another process running on your machine.

Remedy ​

There are several ways to fix this: