Kibana 8.11.1 Dev and IPV6

Hi I am trying to use Kibana 8.11.1 in a dev environment with an IPV6 system using this config below

elasticsearch.hosts:
  - https://[2400:10a:a001:aa0c::89]:31001/mon-elasticsearch-client
elasticsearch.ssl.verificationMode: none
elasticsearch.username: "sys1234"
elasticsearch.password: "sys1234"

I get this error below. I have no issues with IPV4 system and can access Kibana via http://localhost:5601/

[2024-05-15T14:22:53.067+00:00][ERROR][elasticsearch-service] Unable to retrieve version information from Elasticsearch nodes. connect ENETUNREACH 2400:10a:a001:aa0c::89:31001 - Local (:::0)

Thank you
Kris

Why does your elasticsearch.hosts URL have a pathname? In my experience, the host only ever contains the base name and port.