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
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
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
Von: basex-talk-bounces@mailman.uni-konstanz.de [mailto:basex-talk-bounces@mailman.uni-konstanz.de] Im Auftrag von Dirk Kirsten Gesendet: Mittwoch, 31. August 2016 12:48 An: basex-talk@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
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
Van: basex-talk-bounces@mailman.uni-konstanz.de [mailto:basex-talk-bounces@mailman.uni-konstanz.de] Namens Dirk Kirsten Verzonden: woensdag 31 augustus 2016 12:48 Aan: basex-talk@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
basex-talk@mailman.uni-konstanz.de