http server ... outsider localhost
hello list --- Happy Christmas & New Year
If I run the http server (Basex 7.5) then I can access through Jetty. When I try to access the same across the network I get nothing through and "Access denied" in the Basex logs. What's the solution?
Many thanks Peter
Hi Peter,
the combination of BaseX and Jetty is successfully applied in many productive client/server environments. Can you provide us with some more details on how to reproduce the issue?
Thanks, Christian
Quoted text · pw · 13 lines
> hello list --- Happy Christmas & New Year > > If I run the http server (Basex 7.5) then I can access through Jetty. > When I try to access the same across the network I get nothing > through and "Access denied" in the Basex logs. What's the solution? > > Many thanks > Peter > > _______________________________________________ > BaseX-Talk mailing list > BaseX-Talk at mailman.uni-konstanz.de > https://mailman.uni-konstanz.de/mailman/listinfo/basex-talk
Hi Christian
I just downloaded the BaseX 7.5 zip archive and ran the httpserver.bat file ... On the local machine I was able to access using the localhost or machine name as URLs, but access from elsewhere on the network got to the Jetty server (it logged "access denied") but apparently no further.
Peter
Hi Peter,
the combination of BaseX and Jetty is successfully applied in many productive client/server environments. Can you provide us with some more details on how to reproduce the issue?
Thanks, Christian
Quoted text · Christian Grün · 3 lines
> hello list --- Happy Christmas & New Year > > If I run the http server (Basex 7.5) then I can access through
Jetty.
Quoted text · Christian Grün · 10 lines
> When I try to access the same across the network I get nothing > through and "Access denied" in the Basex logs. What's the solution? > > Many thanks > Peter > > _______________________________________________ > BaseX-Talk mailing list > BaseX-Talk at mailman.uni-konstanz.de > https://mailman.uni-konstanz.de/mailman/listinfo/basex-talk
_______________________________________________ BaseX-Talk mailing list BaseX-Talk at mailman.uni-konstanz.de https://mailman.uni-konstanz.de/mailman/listinfo/basex-talk
Hi Peter, I wonder if this problem is related to a change I suggested to the webapps/WEB_INF/jetty.xml file. Do you still get the problem if you remove the line below and restart? <Set name="host"><SystemProperty name="org.basex.serverhost" default=""/></Set>
Or if you change default="" to default="0.0.0.0" as suggested here
Regards
/Andy
Quoted text · pw · 51 lines
On Sun, Dec 30, 2012 at 5:30 PM, <pw at themail.co.uk> wrote: > Hi Christian > > I just downloaded the BaseX 7.5 zip archive and ran the > httpserver.bat file ... On the local machine I was able to access > using the localhost or machine name as URLs, but access from > elsewhere on the network got to the Jetty server (it logged "access > denied") but apparently no further. > > Peter > > > > > > Hi Peter, > > the combination of BaseX and Jetty is successfully applied in many > productive client/server environments. Can you provide us with some > more details on how to reproduce the issue? > > > Thanks, > Christian > ___________________________ > > > hello list --- Happy Christmas & New Year > > > > If I run the http server (Basex 7.5) then I can access through > Jetty. > > When I try to access the same across the network I get nothing > > through and "Access denied" in the Basex logs. What's the solution? > > > > Many thanks > > Peter > > > > _______________________________________________ > > BaseX-Talk mailing list > > BaseX-Talk at mailman.uni-konstanz.de > > https://mailman.uni-konstanz.de/mailman/listinfo/basex-talk > _______________________________________________ > BaseX-Talk mailing list > BaseX-Talk at mailman.uni-konstanz.de > https://mailman.uni-konstanz.de/mailman/listinfo/basex-talk > > > _______________________________________________ > BaseX-Talk mailing list > BaseX-Talk at mailman.uni-konstanz.de > https://mailman.uni-konstanz.de/mailman/listinfo/basex-talk >
Peter, Good to know it worked. Christian, I think this change should be made to the github source
/Andy
Quoted text · Andy Bunce · 85 lines
On Tue, Jan 1, 2013 at 2:00 AM, <pw at themail.co.uk> wrote: > Andy > changing the default to 0.0.0.0 worked. Many thanks > > Peter > > ---- Original Message ---- > From: bunce.andy at gmail.com > To: pw at themail.co.uk > Subject: Re: [basex-talk] http server ... outsider localhost > Date: Mon, 31 Dec 2012 11:34:48 +0000 > > >Hi Peter, > >I wonder if this problem is related to a change I suggested to the > >webapps/WEB_INF/jetty.xml file. > >Do you still get the problem if you remove the line below and > >restart? > > <Set name="host"><SystemProperty name="org.basex.serverhost" > >default=""/></Set> > > > >Or if you change default="" to default="0.0.0.0" as suggested here > > > >http://osgeo-org.1560.n6.nabble.com/Cannot-connect-to-server-host-IP- > >unless-it-s-localhost-td3861103.html > > > >Regards > > > >/Andy > > > >On Sun, Dec 30, 2012 at 5:30 PM, <pw at themail.co.uk> wrote: > > > >> Hi Christian > >> > >> I just downloaded the BaseX 7.5 zip archive and ran the > >> httpserver.bat file ... On the local machine I was able to access > >> using the localhost or machine name as URLs, but access from > >> elsewhere on the network got to the Jetty server (it logged "access > >> denied") but apparently no further. > >> > >> Peter > >> > >> > >> > >> > >> > >> Hi Peter, > >> > >> the combination of BaseX and Jetty is successfully applied in many > >> productive client/server environments. Can you provide us with some > >> more details on how to reproduce the issue? > >> > >> > >> Thanks, > >> Christian > >> ___________________________ > >> > >> > hello list --- Happy Christmas & New Year > >> > > >> > If I run the http server (Basex 7.5) then I can access through > >> Jetty. > >> > When I try to access the same across the network I get nothing > >> > through and "Access denied" in the Basex logs. What's the > >solution? > >> > > >> > Many thanks > >> > Peter > >> > > >> > _______________________________________________ > >> > BaseX-Talk mailing list > >> > BaseX-Talk at mailman.uni-konstanz.de > >> > https://mailman.uni-konstanz.de/mailman/listinfo/basex-talk > >> _______________________________________________ > >> BaseX-Talk mailing list > >> BaseX-Talk at mailman.uni-konstanz.de > >> https://mailman.uni-konstanz.de/mailman/listinfo/basex-talk > >> > >> > >> _______________________________________________ > >> BaseX-Talk mailing list > >> BaseX-Talk at mailman.uni-konstanz.de > >> https://mailman.uni-konstanz.de/mailman/listinfo/basex-talk > >> > > >
..done; thanks Andy, thanks Peter.
Quoted text · Andy Bunce · 95 lines
On Wed, Jan 2, 2013 at 1:58 PM, Andy Bunce <bunce.andy at gmail.com> wrote: > Peter, > Good to know it worked. > Christian, > I think this change should be made to the github source > > /Andy > > On Tue, Jan 1, 2013 at 2:00 AM, <pw at themail.co.uk> wrote: >> >> Andy >> changing the default to 0.0.0.0 worked. Many thanks >> >> Peter >> >> >> ---- Original Message ---- >> From: bunce.andy at gmail.com >> To: pw at themail.co.uk >> Subject: Re: [basex-talk] http server ... outsider localhost >> Date: Mon, 31 Dec 2012 11:34:48 +0000 >> >> >Hi Peter, >> >I wonder if this problem is related to a change I suggested to the >> >webapps/WEB_INF/jetty.xml file. >> >Do you still get the problem if you remove the line below and >> >restart? >> > <Set name="host"><SystemProperty name="org.basex.serverhost" >> >default=""/></Set> >> > >> >Or if you change default="" to default="0.0.0.0" as suggested here >> > >> >http://osgeo-org.1560.n6.nabble.com/Cannot-connect-to-server-host-IP- >> >unless-it-s-localhost-td3861103.html >> > >> >Regards >> > >> >/Andy >> > >> >On Sun, Dec 30, 2012 at 5:30 PM, <pw at themail.co.uk> wrote: >> > >> >> Hi Christian >> >> >> >> I just downloaded the BaseX 7.5 zip archive and ran the >> >> httpserver.bat file ... On the local machine I was able to access >> >> using the localhost or machine name as URLs, but access from >> >> elsewhere on the network got to the Jetty server (it logged "access >> >> denied") but apparently no further. >> >> >> >> Peter >> >> >> >> >> >> >> >> >> >> >> >> Hi Peter, >> >> >> >> the combination of BaseX and Jetty is successfully applied in many >> >> productive client/server environments. Can you provide us with some >> >> more details on how to reproduce the issue? >> >> >> >> >> >> Thanks, >> >> Christian >> >> ___________________________ >> >> >> >> > hello list --- Happy Christmas & New Year >> >> > >> >> > If I run the http server (Basex 7.5) then I can access through >> >> Jetty. >> >> > When I try to access the same across the network I get nothing >> >> > through and "Access denied" in the Basex logs. What's the >> >solution? >> >> > >> >> > Many thanks >> >> > Peter >> >> > >> >> > _______________________________________________ >> >> > BaseX-Talk mailing list >> >> > BaseX-Talk at mailman.uni-konstanz.de >> >> > https://mailman.uni-konstanz.de/mailman/listinfo/basex-talk >> >> _______________________________________________ >> >> BaseX-Talk mailing list >> >> BaseX-Talk at mailman.uni-konstanz.de >> >> https://mailman.uni-konstanz.de/mailman/listinfo/basex-talk >> >> >> >> >> >> _______________________________________________ >> >> BaseX-Talk mailing list >> >> BaseX-Talk at mailman.uni-konstanz.de >> >> https://mailman.uni-konstanz.de/mailman/listinfo/basex-talk >> >> >> >> >
Written for BaseX 7.5. BaseX may have changed since: please check the current documentation.