Matrix api offline

Hi, i am new to graphhopper. I have hosted the service with a offline map on my local, I can query localhost:8989/route for routing, now i need to do it with matrix, I have tried client api for java but reponse.getDistance().size() always give me 0.
I enabled debug mode and found that may be i was hitting wrong endpoint , I changed to localhost:8989/matrix but no luck. does anyone knows what is the endpoint for matrix api?
or did I miss something?

Hi,

the matrix is not open source, to use it, you have to register an API key and then you can use the matrix client to query the API.

Have a look here for more information about Opensource and GraphHopper.

Cheers,
Robin

Thanks for your reply!