Thanks to all of you for your help. Window.Location.getHostName() and Window.Location.getPort() is working fine for me :)
On Sep 8, 9:41 pm, Thomas Broyer <[email protected]> wrote: > On 8 sep, 11:55, Vikas <[email protected]> wrote: > > > For RPC communication, I need server IP address and port which is > > specified inURL. > > e.g. In 'http://10.4.6.131:8181/webClient.html'url10.4.6.131 IP > > address and 8181 port. > > > How to get this IP and port in GWT? > > Window.Location.getHostName() and Window.Location.getPort() ? --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en -~----------~----~----~----~------~----~------~--~---
