Skip to content

Instantly share code, notes, and snippets.

@minikin
Created September 29, 2016 07:33
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save minikin/36a84867af696dc610ab507b10a67993 to your computer and use it in GitHub Desktop.
Save minikin/36a84867af696dc610ab507b10a67993 to your computer and use it in GitHub Desktop.
realm testing
:~$ node -v
v4.4.2
:~$ npm -v
2.15.0
:~$ nano /var/log/realm-sync.log
empty file
:~$ curl http://localhost:9080
curl: (7) Failed to connect to localhost port 9080: Connection refused
:~$ sudo ufw status
Status: active
To Action From
-- ------ ----
9080/tcp ALLOW Anywhere
OpenSSH ALLOW Anywhere
22 ALLOW Anywhere
80 ALLOW Anywhere
443 ALLOW Anywhere
27080 ALLOW Anywhere
9080/tcp (v6) ALLOW Anywhere (v6)
OpenSSH (v6) ALLOW Anywhere (v6)
22 (v6) ALLOW Anywhere (v6)
80 (v6) ALLOW Anywhere (v6)
443 (v6) ALLOW Anywhere (v6)
27080 (v6) ALLOW Anywhere (v6)
:~$ realm-object-server --configuration /etc/realm/configuration.yml
module.js:583
return process.dlopen(module, path._makeLong(filename));
^
Error: Module version mismatch. Expected 48, got 46.
at Error (native)
at Object.Module._extensions..node (module.js:583:18)
at Module.load (module.js:473:32)
at tryModuleLoad (module.js:432:12)
at Function.Module._load (module.js:424:3)
at Module.require (module.js:483:17)
at require (internal/module.js:20:19)
at Object.<anonymous> (/usr/lib/nodejs/realm-object-server/node_modules/realm/lib/index.js:40:24)
at Module._compile (module.js:556:32)
at Object.Module._extensions..js (module.js:565:10)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment