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?