You are viewing a plain text version of this content. The canonical link for it is here.
Posted to xindice-dev@xml.apache.org by xi...@xml.apache.org on 2004/02/06 04:10:21 UTC
[Xindice Wiki] New: XindiceFAQ/XindicePort
Date: 2004-02-05T19:10:14
Editor: VadimGritsenko <vg...@apache.org>
Wiki: Xindice Wiki
Page: XindiceFAQ/XindicePort
URL: http://wiki.apache.org/xindice/XindiceFAQ/XindicePort
no comment
New Page:
#pragma section-numbers off
= How to change Xindice Command Line tool port number? =
By default, Xindice command line tool tries to connect to the database located on the localhost, on the port 8888. Command line for querying database on default location is:
{{{
bin\xindice lc -c /db
}}}
Where {{{-c}}} specifies the ''context'' for the command line tool. Value of the context can be valid XML:DB URL. It has a form of:
{{{
xmldb:xindice://host:port/db
}}}
So, if you are running your database on different port number (say, 8080), you should simply use following command line:
{{{
bin\xindice lc -c xmldb:xindice://localhost:8080/db
}}}