Menu

#260 Cannot connect to remote host

open
nobody
None
5
2012-09-27
2012-09-27
Jira Trac
No

I tried connecting to a remote database using the third sample code from https://github.com/CUBRID/node-cubrid#readme

I only changed this line:
{code}
var client = require('../index.js').createCUBRIDConnection('50.50.20.30', 33000, 'dba', 'test', 'demodb')
{code}

and I got the error:
{code}
C:\Users\user\Desktop\CUBRID-node-cubrid-313d164\test\test.js:8
throw err.message;
^
connect EADDRNOTAVAIL
{code}

I tried giving the host name by value (cubrid.org) and by ip and both failed with same error.

Discussion

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.