On 1/4/12 1:26 PM, Vanessa Lopez wrote:
Hi all!

How should I configure virtuoso to be accessed remotely?

Do I need to open the ports in virtuoso conductor or anything similar?

I access to virtuoso locally with the following code, however it does not work 
if I access remotely:

                                con = DriverManager.getConnection(PROTOCOL+ 
repository.getServerURL() + "/UID=" + repository.getLogin() + "/PWD=" + 
repository.getPassword());
                                Statement stmt = con.createStatement();
                                       stmt.setQueryTimeout (query_timeout);
                                result = stmt.executeQuery("SPARQL " + sparql);

Thanks!
Vanessa

You have to open up ports for:

1. The SQL Server -- if you are making ODBC, JDBC, ADO.NET, OLE-DB calls
2. The HTTP Server -- re. Conductor, SPARQL, XMLA, and other Web Services.

Default settings usually of the form:

Default Database:
port 8889 for the http server .
port 1111 for the sql server.

Demo Database:

port 8890 for the http server.
port 1112 for the sql server.

--

Regards,

Kingsley Idehen 
Founder&  CEO
OpenLink Software
Company Web: http://www.openlinksw.com
Personal Weblog: http://www.openlinksw.com/blog/~kidehen
Twitter/Identi.ca handle: @kidehen
Google+ Profile: https://plus.google.com/112399767740508618350/about
LinkedIn Profile: http://www.linkedin.com/in/kidehen






Reply via email to