Four Js Development Tools Forum

Discussions by product => GAS and GBC => Topic started by: Dan H. on September 17, 2020, 06:10:31 pm



Title: Multiple Gas Servers
Post by: Dan H. on September 17, 2020, 06:10:31 pm
Hello,

We want to present multiple versions of a project on a single machine.

From what I have read in the 3.20 documentation, I can specify only one port to be listened to in gas.
And if I want to present multiple (similar) projects I would need to have a unique ID for each one.
With a single GAS server this would lead to:
http:\\<myserver>:<port>\Project
http:\\<myserver>:<port>\Project1
http:\\<myserver>:<port>\Project2
http:\\<myserver>:<port>\Project3

While this would work, it means that changes to the GAS server affect all of the projects, not just the one we are changing.
This would not be ideal.

With multiple GAS severs, I could specify a different port for each project - good.
And perhaps have the same ID for all of the projects - good.
Leading to this:
http:\\<myserver>:<port0>\Project
http:\\<myserver>:<port1>\Project
http:\\<myserver>:<port2>\Project
http:\\<myserver>:<port3>\Project

This would allow us to alter one of the projects without affecting any of the other projects.
The URL would be identical other than the port number, so that's good.
Hopefully we would be able to segregate each project in it's own directory.

But I haven't been able to find any documentation talking about multiple GAS servers on a machine.
Has anybody done this?
Has anybody tried this?

Any help would be appreciated very much.

Thanks
   Dan Hunter


Title: Re: Multiple Gas Servers
Post by: Sisavanh S. on September 17, 2020, 06:24:58 pm
Hi,

Are you looking for this page ?
https://4js.com/online_documentation/fjs-gas-manual-html/#gas-topics/c_gas_mult_disp.html

Best regards,
Sisa.