Did you try web.vars.SERVER_PORT? -- Fabio Mascarenhas
On Wed, Nov 3, 2010 at 7:04 AM, Thijs Koerselman <thijskoersel...@gmail.com> wrote: > On Tue, Nov 2, 2010 at 7:24 PM, Petite Abeille <petite.abei...@gmail.com> > wrote: >> >>> Is there a way for the app to know the port number which it is running on? >> >> SERVER_PORT? >> > > Yes, something like that I guess, but I can't find it in the > variables. I've looked at the contents of the orbit module table and > its web object, but both don't seem to contain the port number. > > Thijs > > _______________________________________________ > Kepler-Project mailing list > Kepler-Project@lists.luaforge.net > http://lists.luaforge.net/cgi-bin/mailman/listinfo/kepler-project > http://www.keplerproject.org/ > _______________________________________________ Kepler-Project mailing list Kepler-Project@lists.luaforge.net http://lists.luaforge.net/cgi-bin/mailman/listinfo/kepler-project http://www.keplerproject.org/