Hi Ralf, Hi Loke,
I fixed the forgotten jetty server not obeying the `SERVERHOST` setting. If you want to restrict the BaseXHTTP server, you should update to the latest revision in git.
Regards from Lake Constance,
Jens
--
Jens Erat
[phone]: tel:+49-151-56961126
[mail]: mailto:email@jenserat.de
[jabber]: xmpp:jabber@jenserat.de
[web]: http://www.jenserat.de
PGP: 350E D9B6 9ADC 2DED F5F2 8549 CBC2 613C D745 722B
Am 03.10.2011 um 23:07 schrieb Ralf Jung:Hi Jens,thanks!The patch does not seem to affect all the ports that are opened though..."netstat -nlp" shows:tcp6 0 0 :::8984 :::* LISTEN21565/javatcp6 0 0 :::8985 :::* LISTEN21565/javatcp6 0 0 127.0.0.1:1984 :::* LISTEN21565/javatcp6 0 0 127.0.0.1:1985 :::* LISTEN21565/javaSo, the actual server and events stuff is local, but REST and... something...is not.Kind regards,RalfOn Monday 03 October 2011 14:05:45 Jens Erat wrote:Hi Loke, hi Ralf,BaseX missed the possibility to bind the server to a hostname. Christianjust merged my tweak to add this. Feel free to pull the current developerversion from [github][1]! The tweak will also be included in this month'sexpected 6.8 release.Regards from Lake Constance,Jens[1]: https://github.com/BaseXdb/basexHi,yes, I already looked for that same feature and could not find it yet.For security reasons, I don't want anyone outside of the server machineto be able to connect to BaseX, Jetty should listen for incomingconnections on localhost only.It is common for every server software to have such a configuration,somewhere. I assume that's what you are looking for, too, Loke?Kind regards,RalfOn Sunday 02 October 2011 23:18:43 developer loke wrote:Hi Christian,I have checked this page. It seems to contain no info about theconfiguration variables themselves. Also, I have been able to connectto the locally started server from a remote IP address, which willhappen only when a locally started server listens on all the ipaddresses. I would like to make it bind to a particular address likeMySQL and not have to worry about all the other IP addresses.ThanksLokeOn Mon, Oct 3, 2011 at 2:09 AM, Christian Grün<christian.gruen@gmail.com> wrote:Hi Loke,thanks for requesting a Wiki account!Hi. I am looking for options to configure the server as documentedin the Wiki, but I can not find .basex file anywhere, and thereseems to be no documentation on the Wiki.In addition to Jens' comments, you may check out the following Wikipage:http://docs.basex.org/wiki/ConfigurationI found the config files, but how do I bind the server to one ipaddress, or to just localhost, because though I can see HOST =localhost, I am still able to connect to it from different machines.The server can only be locally started, which is why there is nooption for the server host. Instead, HOST is used by the client toconnect to a default server; see:http://docs.basex.org/wiki/OptionsHope this helps,Christian_______________________________________________BaseX-Talk mailing listBaseX-Talk@mailman.uni-konstanz.dehttps://mailman.uni-konstanz.de/mailman/listinfo/basex-talk_______________________________________________BaseX-Talk mailing listBaseX-Talk@mailman.uni-konstanz.dehttps://mailman.uni-konstanz.de/mailman/listinfo/basex-talk
_______________________________________________
BaseX-Talk mailing list
BaseX-Talk@mailman.uni-konstanz.de
https://mailman.uni-konstanz.de/mailman/listinfo/basex-talk