Zend certified PHP/Magento developer

Magento 2.4.5 on local Xampp – Elasticsearch issue

So I’m trying to install Magento 2.4.5-p1 on my local Windows 10 machine using xampp.

I have installed elasticsearch and it runs fine when testing using the http://localhost:9200/

But when I come to install magento, I’m getting the error:

“In SearchConfig.php line 81:
Could not validate a connection to Elasticsearch. Unknown 401 error from Elasticsearch null”

I can’t seem to find the fix!

Any ideas out there?

Many Thanks in advance

Andy