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 XMLDB 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
  • No labels