prefixkit Ask an engineerAsk Support RU

Error reference · WireGuard

WireGuard: Unable to modify interface: Address already in use

Unable to modify interface: Address already in use

What it means

The ListenPort of this interface is already taken by another process or another WireGuard interface.

Why it happens

  • Two configs use the same ListenPort.
  • The old interface is still up (wg-quick up run twice).
  • Another program listens on that UDP port.

How to fix it

  1. wg show and ss -ulpn | grep <port> to find who holds it.
  2. wg-quick down the old interface, or give each interface its own port.

Useful tools

Port directory

Other WireGuard errors

Idea?