script-server icon indicating copy to clipboard operation
script-server copied to clipboard

Two instances of script-server on a single server

Open bgpgrid opened this issue 4 years ago • 4 comments

Hi there,

Is it possible to run two instances of script-server on the same server? I.e. one instance uses default port 5000 and let's say another uses port 6000 for example?

If yes, how can this be done?

Thanks

bgpgrid avatar May 27 '21 10:05 bgpgrid

Hi, yes, please check this option: https://github.com/bugy/script-server/wiki/Server-configuration#port

bugy avatar May 27 '21 11:05 bugy

I added this to the conf.json file, I can see it trying to load on port 6000 but I can not open the web gui, page can't be reached.

{ "port": 6000, "title": "Core Script Server" }

I placed it conf/conf.json

RTLucht avatar Sep 19 '24 21:09 RTLucht

I guess it's because some ports are blocked by browsers, for example: https://stackoverflow.com/a/59735077/2166673

bugy avatar Sep 19 '24 21:09 bugy

I see 6000 is not one to use.

Using 5050 worked, thank you

RTLucht avatar Sep 19 '24 21:09 RTLucht