Basex server ports

Wednesday, 31 August 2016 · 4 messages
BV
Bram Vanroy31 Aug 2016 12:35 #
Hi all I am trying to initialise multiple server on a single machine. This will probably be possibly by listening to different ports. The question that I have is that I am not sure which values to change in the .basex file. Candidates are: PORT SERVERPORT EVENTPORT STOPPORT Which of these cannot be the same when running a BaseX server on the same machine? Thank you in advance Bram Vanroy
DK
Dirk Kirsten31 Aug 2016 12:48 #
Hi Bram, well, all of them. Only one application at a given time can listen to a single (TCP-)port, sou otherwise you will get an "address already in use" error. Cheers, Dirk
Quoted text · Bram Vanroy · 36 lines
On 08/31/2016 12:35 PM, Bram Vanroy wrote: > > Hi all > > > > I am trying to initialise multiple server on a single machine. This > will probably be possibly by listening to different ports. The > question that I have is that I am not sure which values to change in > the .basex file. Candidates are: > > > > PORT > > SERVERPORT > > EVENTPORT > > STOPPORT > > > > Which of these cannot be the same when running a BaseX server on the > same machine? > > > > > > Thank you in advance > > > > Bram Vanroy >
-- 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
BB
Braunschweig, Björn31 Aug 2016 12:53 #
Hi Bram, Maybe you should take into account using one of the official basex docker images. Then its easily possible to run multiple containers in parallel and mapped to different ports. Regards, Björn
Quoted text · basex-talk-bounces at mailman.uni-konstanz.de · 31 lines
Von: basex-talk-bounces at mailman.uni-konstanz.de [mailto:basex-talk-bounces at mailman.uni-konstanz.de] Im Auftrag von Dirk Kirsten Gesendet: Mittwoch, 31. August 2016 12:48 An: basex-talk at mailman.uni-konstanz.de Betreff: Re: [basex-talk] Basex server ports Hi Bram, well, all of them. Only one application at a given time can listen to a single (TCP-)port, sou otherwise you will get an "address already in use" error. Cheers, Dirk On 08/31/2016 12:35 PM, Bram Vanroy wrote: Hi all I am trying to initialise multiple server on a single machine. This will probably be possibly by listening to different ports. The question that I have is that I am not sure which values to change in the .basex file. Candidates are: PORT SERVERPORT EVENTPORT STOPPORT Which of these cannot be the same when running a BaseX server on the same machine? Thank you in advance Bram Vanroy -- 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
BV
Bram Vanroyin reply to Dirk Kirsten, 31 Aug 2016, 12:4831 Aug 2016 15:08 #
Hello Thank you for the quick reply! I thought so, but I mainly asked because I am not sure what the difference is between the first two items I listed. I found this [1] in the documentation but I dont quite understand how they differ. Why are it different names (PORT and SERVERPORT) if they are the same port anyway? Are there cases where they are different ports? Björn, thank you for the advice. However, I am not familiar with docker. Might look into it in the future, thanks! [1]: http://docs.basex.org/wiki/Options#PORT
Quoted text · basex-talk-bounces at mailman.uni-konstanz.de · 30 lines
Van: basex-talk-bounces at mailman.uni-konstanz.de [mailto:basex-talk-bounces at mailman.uni-konstanz.de] Namens Dirk Kirsten Verzonden: woensdag 31 augustus 2016 12:48 Aan: basex-talk at mailman.uni-konstanz.de Onderwerp: Re: [basex-talk] Basex server ports Hi Bram, well, all of them. Only one application at a given time can listen to a single (TCP-)port, sou otherwise you will get an "address already in use" error. Cheers, Dirk On 08/31/2016 12:35 PM, Bram Vanroy wrote: Hi all I am trying to initialise multiple server on a single machine. This will probably be possibly by listening to different ports. The question that I have is that I am not sure which values to change in the .basex file. Candidates are: PORT SERVERPORT EVENTPORT STOPPORT Which of these cannot be the same when running a BaseX server on the same machine? Thank you in advance Bram Vanroy -- 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

⚡Generated with XQuery