I was putting together an application for a client and planned on
using the SERVER_PORT as part of the program to know if the requests
were internal or external (ie port 80 is external, outside the LAN
coming through the firewall) and something like port 81 is inside the
So, created on instance that points to conf running port 80, and
another instance that points to conf running port 81.
Well, SERVER_PORT always returns port 80, no matter which server
instance I'm connecting to.
This is V5R4. I verified the same thing happens on my machine which
is also V5R4.
Any ideas? Thanks!
This is the Web Enabling the AS400 / iSeries (WEB400) mailing list
To post a message email: WEB400@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
or email: WEB400-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
As an Amazon Associate we earn from qualifying purchases.
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.