Reset password api is not working

Please read this about how to format.

Here your machine does not know how to resolve node2.
You might need to use an IP address instead or add the node2 in your /etc/hosts...