The current module assumes that the database is hosted locally, which won't work for website with a remote DB.
The following line must be added in the sparql_ep_initialize function to solve the issue (when defining ARC2 config)

'db_host' => urldecode($url['host']),

Comments

fereira’s picture

I believe the ARC2 module also assumes that a database is local. See the createDBCon() function in ARC2_Store.php and you'll find it hardcodes the database host to 'localhost'.