Register and update Service on Client Node

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\?replace-existing-checks\=true
My server is running on and client on 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.