Topic
IC4NOTICE: developerWorks Community will be offline May 29-30, 2015 while we upgrade to the latest version of IBM Connections. For more information, read our upgrade FAQ.
1 reply Latest Post - ‏2011-05-20T09:43:37Z by SystemAdmin
SystemAdmin
SystemAdmin
9224 Posts
ACCEPTED ANSWER

Pinned topic Getting the local address of a request

‏2011-05-19T20:02:33Z |
NOTE: this thread was migrated from projectzero.org. Some content and formatting may have been lost in the move.


Originally posted by projectzero userid: wolfpa - f=4&t=2311#p9379
If a sMash application is bound to multiple addresses, is there a way to determine which address a request came in on?

There's the 2h5feidx value to get the client address, but I don't see one to get the server address, like the 2h5feidx method of the ServletRequest.

Thanks
Updated on 2011-05-20T09:43:37Z at 2011-05-20T09:43:37Z by SystemAdmin
  • SystemAdmin
    SystemAdmin
    9224 Posts
    ACCEPTED ANSWER

    Re: Getting the local address of a request

    ‏2011-05-20T09:43:37Z  in response to SystemAdmin

    Originally posted by projectzero userid: EricWang - f=4&t=2311#p9380
    /request/serverName: The host name of the server to which the request was sent.
    There's no IP Address info in sMash runtime.