For some reason connecting to a setup monetdb server via
mapi_connect("localhost", 50000, "monetdb", "monetdb", "sql", "demo");
works,
however,
mapi_connect("xxx.xxx.xxx.xxx", 50000, "monetdb", "monetdb", "sql", "demo");
Doesn't work.
I've checked that port 50000 is open, and that the service is up and running.
What am I missing?
Figured it out, the issue was with Port Forwarding in my VirtualBox settings for my Centos VM. For anyone with similar issue, just add a port forwarding rule, in my case it was for port 50000 (which is what my monetdb server runs on). Good luck.