Trying to send push notification getting this error "endpoint error: getaddrinfo ENOTFOUND api.devel

89 views
Skip to first unread message

Anuj Kumar Singh

unread,
Apr 1, 2019, 11:47:26 PM4/1/19
to node-apn
Hi ,

Trying to send push IOS notification on the server  with different port but getting the same error .

using port 2197


using port 443



error in Android


 { Error: getaddrinfo ENOTFOUND fcm.googleapis.com fcm.googleapis.com:443

    at errnoException (dns.js:50:10)

    at GetAddrInfoReqWrap.onlookup [as oncomplete] (dns.js:92:26)

   code: 'ENOTFOUND',

  errno: 'ENOTFOUND',

  syscall: 'getaddrinfo',

  hostname: 'fcm.googleapis.com',

  host: 'fcm.googleapis.com',

  port: 443 }


Why i am getting this error.

Please suggest what should be the approach to solve this.




Reply all
Reply to author
Forward
0 new messages