Error registering push notification for android

Backendless Version (3.x / 6.x, Online / Managed / Pro )

6.x

Client SDK (REST / Android / Objective-C / Swift / JS )

Android

Expected Behavior

  1. I’m in the Push Commander phase of the Mission trying to register device for push notifications
  2. Downloaded the Push Notifications Android App from the code generator
  3. When I run the app, try device should be registered for Push notification

Actual Behavior

Every time I run the app, it opens the simulator but I get an error message:

Error registering
Could not register device on Backendless server:
BackendlessFault{ code: ‘Internal client exception’, message: ‘socket failed: EPERM (Operation not permitted) at java.net.Socket.createlpl(Socket.java:492)…’}

Hello @Peter_J

Thank you for your post

It seems like it is not related to Backendless

take a look at this https://stackoverflow.com/questions/56266801/java-net-socketexception-socket-failed-eperm-operation-not-permitted

Regards, Vlad

Yes indeed, it works now…thanks