Hi,

If you need to know the server IP address, via a service call, Can't you
just take it from request "host" header?(which will be the one client side
actually uses to call the server)

Thanks,

On 24 September 2016 at 22:17, Sidath Weerasinghe <[email protected]> wrote:

> Hi all,
>
> On the server side, I am currently getting all the network interface's IP
> addresses and store them in the database. Then I wrote the web service to
> get those details from the database.
>
>
> [image: Inline image 1]
>
>
> In Andes client side, I will call that web service to retrieve the IP
> addresses.
> The concern I have is how can I choose the IPs (LAN & WiFi) which is
> related to the client network (When client is on WiFi network, client need
> to choose WiFi IP address) to the MB client.
>
> Need a way for do this?
>
>
> --
> Thank You,
> Best Regards,
>
> Sidath Weerasinghe
>
>
> *Intern*
>
> *WSO2, Inc. *
>
> *lean . enterprise . middleware *
>
>
> *Mobile: +94719802550 <%2B94719802550>*
>
> *Email: *[email protected]
>
> Blog: https://medium.com/@sidath
>
> Linkedin: https://lk.linkedin.com/in/sidathweerasinghe
>
> _______________________________________________
> Dev mailing list
> [email protected]
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


-- 
Rajith Vitharana

Senior Software Engineer,
WSO2 Inc. : wso2.com
Mobile : +94715883223
Blog : http://lankavitharana.blogspot.com/
<http://wso2.com/signature>
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to