Error for kubectl port forwarding

Symptom

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

Click to copy
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: