Notifications are easy to use on the same node, but harder on the network. In particular, I donโt think that too many people actually use it, because Googleโs search results are limited :) Now, regarding your questions:
For 1: yes, you need to have nodename and notificationName matching. This page says this (though not crystal clear):
createnode hostname nodename username Creates a node on the server to send notifications using. Before a client can subscribe to notifications with a given name, the server must be configured with a node with a matching name.
So, first you need to create a node, after which you can listen to notifications with the given name. Otherwise, you will not receive a notification.
For 2: I get this error when the XMMP daemon is not working (i.e. port 5222 is closed). Is this port open to you? (check the output of nmap -p 5222 push.example.com ).
source share