I want to register and update services on Client Node. I tried to do it using api calls but that registers and updates services on server node.
curl --request PUT --data @payload.json http://172.22.85.67:8500/v1/agent/service/register\?replace-existing-checks\=true
My server is running on 172.22.85.67 and client on 172.22.85.39. When I try to call client node with this call, it doesn’t responds back. Though I have mentioned ip and port of client node in payload.json file.
Please tell me how can I achieve this i.e. register and update services on client node.