2D object doesn't collide

Hello, I already created a few script with trigger event but this one so simple it seems not working.
I created a rigid body and a box collider for both of them but it doesn’t trigger the debug log

using System.Collections;
using System.Collections.Generic;
using UnityEngine;

public class PacketsEnemy : MonoBehaviour
{

    void start()
    {
      GameObject[] server = GameObject.FindGameObjectsWithTag("Server");

    }

    void OnTriggerEnter2D(Collider2D server)
    {
      Debug.Log("Pacchetto");
    }

}

screenshot Screenshot by Lightshot

So you are using OnTriggerEnter2D instead of OnCollisionEnter2D. If you are using Trigger then make sure the object’s collider is also set to Trigger. Maybe add in a condition to the CollisionEnter2D or TriggerEnter2D like, if(server.gameObject.tag == “yourTagHere”)
{
Debug.Log(“COLLISION HAPPENED”);
}