remotely access
Saturday, 11 June 2016 · 5 messages
MK
Mohamed kharrat11 Jun 2016 19:53 #
Hi,to execute remotely xquery queries, we have to run BaseX server and BaseXclient in the same time?
Best regards
CG
Christian Grün11 Jun 2016 21:29 #
Quoted text · Mohamed kharrat · 2 lines
> to execute remotely xquery queries, we have to run BaseX server and > BaseXclient in the same time?
The BaseX server needs to be run on your remote machine, and you’ll access it via your local BaseX client instance. But I’m pretty sure I got you wrong? If yes, please try a bit harder ;)
MK
Mohamed kharrat11 Jun 2016 22:29 #
I have made a BaseX php client in a server Aand running BaseX server in server B in the php file containing the xquery query and the connection stringwhen i execute it, the browser shows me: "cannot communicate with server" Any idea?
De : Christian Grün <christian.gruen at gmail.com>
À : Mohamed kharrat <med_khr at yahoo.fr>
Cc : BaseX Talk <basex-talk at mailman.uni-konstanz.de>
Envoyé le : Samedi 11 juin 2016 20h29
Objet : Re: [basex-talk] remotely access
Quoted text · Christian Grün · 2 lines
> to execute remotely xquery queries, we have to run BaseX server and > BaseXclient in the same time?
The BaseX server needs to be run on your remote machine, and you’ll access it via your local BaseX client instance. But I’m pretty sure I got you wrong? If yes, please try a bit harder ;)
HP
Henning Phan11 Jun 2016 22:50 #
hi,I failed to include the mail list
the ports you gave me are different 9884 != 8984, could that be the problem?
Date: Sat, 11 Jun 2016 20:46:02 +0000
Quoted text · med_khr at yahoo.fr · 35 lines
From: med_khr at yahoo.fr To: henningphan at hotmail.com Subject: Re: [basex-talk] remotely access yes i have added a "NAT" in my router with 9884 port and the ip of server B is accessible outside from anywhere In the php file in servers A i have wrote: $session = new Session("The_public_IP", 8984, "admin", "admin"); I'm wondering why it shows me this error. De : Henning Phan <henningphan at hotmail.com> À : Mohamed kharrat <med_khr at yahoo.fr> Envoyé le : Samedi 11 juin 2016 21h42 Objet : RE: [basex-talk] remotely access Hi,A common thing people miss is to ensure that the server B is remotely accessible. Is server B behind a router then you might have to do port forwarding. Another issue is that the client uses the wrong port. Hope that helps Date: Sat, 11 Jun 2016 20:29:06 +0000 From: med_khr at yahoo.fr To: christian.gruen at gmail.com CC: basex-talk at mailman.uni-konstanz.de Subject: Re: [basex-talk] remotely access I have made a BaseX php client in a server A and running BaseX server in server B in the php file containing the xquery query and the connection string when i execute it, the browser shows me: "cannot communicate with server" Any idea? De : Christian Grün <christian.gruen at gmail.com> À : Mohamed kharrat <med_khr at yahoo.fr> Cc : BaseX Talk <basex-talk at mailman.uni-konstanz.de> Envoyé le : Samedi 11 juin 2016 20h29 Objet : Re: [basex-talk] remotely access > to execute remotely xquery queries, we have to run BaseX server and > BaseXclient in the same time? The BaseX server needs to be run on your remote machine, and you’ll access it via your local BaseX client instance. But I’m pretty sure I got you wrong? If yes, please try a bit harder ;)
MK
Mohamed kharrat11 Jun 2016 22:54 #
it's 8984 i just wrote it wrong in the previous email.
so this is not the problem, unless i have to write 80 port
De : Henning Phan <henningphan at hotmail.com>
À : Mohamed kharrat <med_khr at yahoo.fr>
Cc : "basex-talk at mailman.uni-konstanz.de" <basex-talk at mailman.uni-konstanz.de> Envoyé le : Samedi 11 juin 2016 21h50
Objet : RE: [basex-talk] remotely access
hi,I failed to include the mail list
the ports you gave me are different 9884 != 8984, could that be the problem?
Date: Sat, 11 Jun 2016 20:46:02 +0000
Quoted text · med_khr at yahoo.fr · 35 lines
From: med_khr at yahoo.fr To: henningphan at hotmail.com Subject: Re: [basex-talk] remotely access yes i have added a "NAT" in my router with 9884 port and the ip of server B is accessible outside from anywhere In the php file in servers A i have wrote: $session = new Session("The_public_IP", 8984, "admin", "admin"); I'm wondering why it shows me this error. De : Henning Phan <henningphan at hotmail.com> À : Mohamed kharrat <med_khr at yahoo.fr> Envoyé le : Samedi 11 juin 2016 21h42 Objet : RE: [basex-talk] remotely access Hi,A common thing people miss is to ensure that the server B is remotely accessible. Is server B behind a router then you might have to do port forwarding. Another issue is that the client uses the wrong port. Hope that helps Date: Sat, 11 Jun 2016 20:29:06 +0000 From: med_khr at yahoo.fr To: christian.gruen at gmail.com CC: basex-talk at mailman.uni-konstanz.de Subject: Re: [basex-talk] remotely access I have made a BaseX php client in a server A and running BaseX server in server B in the php file containing the xquery query and the connection string when i execute it, the browser shows me: "cannot communicate with server" Any idea? De : Christian Grün <christian.gruen at gmail.com> À : Mohamed kharrat <med_khr at yahoo.fr> Cc : BaseX Talk <basex-talk at mailman.uni-konstanz.de> Envoyé le : Samedi 11 juin 2016 20h29 Objet : Re: [basex-talk] remotely access > to execute remotely xquery queries, we have to run BaseX server and > BaseXclient in the same time? The BaseX server needs to be run on your remote machine, and you’ll access it via your local BaseX client instance. But I’m pretty sure I got you wrong? If yes, please try a bit harder ;)
Written for BaseX 8.4. BaseX may have changed since: please check the current documentation.
⚡Generated with XQuery