How do I use SERVERHOST in ~/.basex (or elsewhere) to get basex to listen on the given PORT only on localhost (127.0.0.1) and not on externally-visible IP addresses?
Setting SERVERHOST and HOST to localhost does not seem to accomplish this.
Thanks!
On Fri, 2012-12-21 at 21:54 -0500, Liam R E Quin wrote:
How do I use SERVERHOST in ~/.basex (or elsewhere) to get basex to listen on the given PORT only on localhost (127.0.0.1) and not on externally-visible IP addresses?
Setting SERVERHOST and HOST to localhost does not seem to accomplish this.
To answer my own question, it's the .basex file in the BaseX distribution directory that is read, not the one in the user's home directory.
There's also an attmept to read .basex in the directory from which the basex server (or client) was run, but that's not in general the home directory.
Thanks!
...exactly. Some more information how the .basex file is chosen can be found on our Configuration page [1].
[1] http://docs.basex.org/wiki/Configuration ______________________________
On Sat, Dec 22, 2012 at 4:03 AM, Liam R E Quin liam@w3.org wrote:
On Fri, 2012-12-21 at 21:54 -0500, Liam R E Quin wrote:
How do I use SERVERHOST in ~/.basex (or elsewhere) to get basex to listen on the given PORT only on localhost (127.0.0.1) and not on externally-visible IP addresses?
Setting SERVERHOST and HOST to localhost does not seem to accomplish this.
To answer my own question, it's the .basex file in the BaseX distribution directory that is read, not the one in the user's home directory.
There's also an attmept to read .basex in the directory from which the basex server (or client) was run, but that's not in general the home directory.
Thanks!
-- Liam Quin - XML Activity Lead, W3C, http://www.w3.org/People/Quin/ Pictures from old books: http://fromoldbooks.org/ Ankh: irc.sorcery.net irc.gnome.org freenode/#xml
BaseX-Talk mailing list BaseX-Talk@mailman.uni-konstanz.de https://mailman.uni-konstanz.de/mailman/listinfo/basex-talk
basex-talk@mailman.uni-konstanz.de