ESP32 not responding to mDNS requests (probably)

Hi, I am trying to make baby steps at HA with integrating ESP32 dev board into it, however I seem to be stuck on the very doorstep. I could not ping it from Windows machine by name, so I had to put it into hosts file. I don’t see a way to do this in HA however, so I either need a solution for ESP32 mDNS problem or a way to edit hosts file in HA.