Hi, In the client, user give the initial IP address to call the Admin service. By calling Admin service client get the all cluster node IP address (LAN interface IP and WiFi interface IP). My concern is how to choose suitable IP address which is related to client network.
Think, client is in the LAN. So client want to select LAN IP address. Not WiFi IP address. In the client I want to select one of the suitable IP address form the IP list. On Sun, Sep 25, 2016 at 10:02 AM, Rajith Vitharana <[email protected]> wrote: > 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> > -- Thank You, Best Regards, Sidath Weerasinghe *Intern* *WSO2, Inc. * *lean . enterprise . middleware * *Mobile: +94719802550* *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
