Currently due to limitations from the mDNS library you need to have Apple Bonjour V3 installed and even then it might not always work.
But me-no-dev has said it was due for a rework soon in issue #520 on the esp32-arduino github page.
will close when working