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@yahoo.fr
To: henningphan@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@hotmail.com>
À : Mohamed kharrat <med_khr@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@yahoo.fr
To: christian.gruen@gmail.com
CC: basex-talk@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@gmail.com>
À : Mohamed kharrat <med_khr@yahoo.fr>
Cc : BaseX Talk <basex-talk@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 ;)