Error Server targets are not currently supported from this engine distribution in UE 4.26.1

Are you building from source on GitHub? Dedicated servers require this: Setting Up Dedicated Servers | Unreal Engine Documentation