Hello Mohamed,

sure you can. It is defined as a global option SERVERPORT, Take a look at our documentation at http://docs.basex.org/wiki/Options#SERVERPORT to see how to change it.

Cheers
Dirk

On 06/20/2016 11:08 AM, Mohamed kharrat wrote:
Hi Mr christian,
Well, i have contacted the hosting company, the told me that the port 1984 is closed in their server for securty reasons.
I'm wondering if we can change the configuration to  set another port?

Best regards



De : Christian Grün <christian.gruen@gmail.com>
À : Mohamed kharrat <med_khr@yahoo.fr>
Envoyé le : Lundi 20 juin 2016 0h48
Objet : Re: [basex-talk] question about http server

Hi Mohamed
> and last question about the DB: if i use db:open()  it will be possible to put my DB in my host server ?
db:open will open a database on the machine where BaseX is installed. Please check out the documentation for more details).
Cheers
Christian
>
>
> ________________________________
> De : Christian Grün <christian.gruen@gmail.com>
> À : Mohamed kharrat <med_khr@yahoo.fr>
> Envoyé le : Dimanche 19 juin 2016 23h27
>
> Objet : Re: [basex-talk] question about http server
>
> > and please execute it again.
>
> This is what I got now:
>
> <li>2.xml talk about 3.xml</li>
> <li>2.xml talk about 7.xml</li>
> <li>2.xml talk about 14.xml</li>
> <li>2.xml talk about 11.xml</li>
>
>
> > but supposing i want to put it in my host server. if possible, i will put
> > them where? and what i have to change in php code?
>
>
> It’s usually better to create a database from your input documents
> (e.g. with the BaseX GUI), and address it with db:open() instead of
> doc().
>



-- 
Dirk Kirsten, BaseX GmbH, http://basexgmbh.de
|-- Firmensitz: Blarerstrasse 56, 78462 Konstanz
|-- Registergericht Freiburg, HRB: 708285, Geschäftsführer:
|   Dr. Christian Grün, Dr. Alexander Holupirek, Michael Seiferle
`-- Phone: 0049 7531 91 68 276, Fax: 0049 7531 20 05 22