How to connect remote orientDB server using orientjs

121 views
Skip to first unread message

Suyog Kale

unread,
Aug 8, 2016, 10:30:07 AM8/8/16
to OrientDB
Hello,

I am new to OrientDB, I am using nodejs npm OrientJs to connect remote database.

Below is sample:

var ODatabase = require('orientjs');
var server = ODatabase({
  host: "102.124.29.128",
  port: 2424,
  httpPort: 2480,
  username: 'admin',
  password: 'mypass!123'
});

var dbs = server.list()
   .then(
      function(list){
         console.log('Databases on Server:', list.length);
      }
   );


But its not working, suggest me, solution or give me sample code working with remote OrientdB server

Enrico Risa

unread,
Aug 8, 2016, 10:32:56 AM8/8/16
to orient-...@googlegroups.com
Which exception do you get?

--

---
You received this message because you are subscribed to the Google Groups "OrientDB" group.
To unsubscribe from this group and stop receiving emails from it, send an email to orient-database+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply all
Reply to author
Forward
0 new messages