• Post Reply Bookmark Topic Watch Topic
  • New Topic

Dynamic IP address

 
Angela Jessi
Ranch Hand
Posts: 428
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
I want to know that besides getCodeBase().getHost(), which are other methods to get dynamic IP address of the server?
Thanks in advance,
angela
 
maateen ashraf
Ranch Hand
Posts: 122
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
u may used intaddress class to get it
 
Angela Lamb
Ranch Hand
Posts: 156
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
InetAddress.getLocalHost()
 
Angela Jessi
Ranch Hand
Posts: 428
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks all,
But I can't use InetAddress.getLocalHost() in my applet. B'cos it will give me error: you can't access localhost at client site.
Plz let me know other solution ,
Thanks again
angela
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!