Posted by Robert G Laurin on October 08, 2014 at 07:27:16:
In Reply to: XAP question...> posted by Tom Fulton on October 07, 2014 at 15:25:42:
If you want multiple XAP servers on multiple computers using a single Internet IP with different port, then you need to configure your firewall accordingly.
Use NAT to route internally to your servers also redirecting the port to 80.
Where 184.108.40.206 is the outside IP and three ports are set for three (3) servers - Ports 80, 81 & 82 and where 192.168.1.1, 192.168.1.2, 192.168.1.3 are your internal XAP addresses
220.127.116.11:80 to 192.168.1.1:80
18.104.22.168:81 to 192.168.1.2:80
22.214.171.124:82 to 192.168.1.3:80
Otherwise you can redirect using same port and change you XAP Startup to specify the listen port.
Create a file named #XAP (can be a CED file).
Add these lines:
Where LISTEN 80 is the port being listen to. Change to whatever fits.
Where LOGFILE is the XAP log, you can customize the name/location as you wish. Personally I create a new LOG file at each startup (by using QSTARTX to modify the #XAP file). (Gimme a shout if you'd like to know more about QSTARTX assigning unique logfile names.
And third option....
If you want all XAP servers to perform the same tasks and just share the load, then you need a LOAD BALANCER that will distribute the requests between your multiple servers. You would need a Network GURU to set that up for you...
Post a Followup
Each file can be a maximum of 1MB in length Uploaded files will be purged from the server on a regular basis.