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
From: med_khr(a)yahoo.fr
To: henningphan(a)hotmail.com
Subject: Re: [basex-talk] remotely access
yes i have added a "NAT" in my router with 9884 portand the ip of server B is accessible outside from anywhere
In the php file in servers Ai have wrote: $session = new Session("The_public_IP", 8984, "admin", "admin");
I'm wondering why it shows me this error.
De : Henning Phan <henningphan(a)hotmail.com>
À : Mohamed kharrat <med_khr(a)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 helpsDate: Sat, 11 Jun 2016 20:29:06 +0000From: med_khr(a)yahoo.frTo: christian.gruen(a)gmail.comCC: basex-talk(a)mailman.uni-konstanz.deSubject: Re: [basex-talk] remotely accessI 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(a)gmail.com> À : Mohamed kharrat <med_khr(a)yahoo.fr> Cc : BaseX Talk <basex-talk(a)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’llaccess it via your local BaseX client instance. But I’m pretty sure Igot you wrong? If yes, please try a bit harder ;)