• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

making a rmi call with ipv6

 
Ranch Hand
Posts: 108
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
hi,
i'm making a rmi call to a server on a ipv6 enabled machine.
when i use the host name, it works fine.
but when i use the ip address, it throws me a timeout exception
the url value is
java.naming.provider.url=jnp://[fe80::216:72ff:fe3c:21gf]:19014


but this works fine if i give
java.naming.provider.url=jnp://blriedlin03:19014

is there any properties i need to set to make it work.

thanks,
gaurav abbi
 
Ranch Hand
Posts: 96
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi gaurav abbi

you should only give the numbers not the hexadecimal values like

java.naming.provider.url=jnp://[fe80::216:72ff:fe3c:21gf]:19014


Example jnp://162.234.567.34:1098

Regards
k.krishnamoorthy.
 
gaurav abbi
Ranch Hand
Posts: 108
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
i tried giving that, but it gives the same error.
ip address = fe80::213:72ff:fe3c:21bf
i tried these url values
java.naming.provider.url=jnp://151480.213.721515.1514312.211115:19014
java.naming.provider.url=jnp://151480.0.213.721515.1514312.211115:19014

java.naming.provider.url=jnp://80.0.216.72.3.21:19014
and this one
java.naming.provider.url=jnp://80.216.72.3.21:19014

can you give me some example or point to some link about how to use this.
i will be really helpful.
 
Bartender
Posts: 1638
IntelliJ IDE MySQL Database Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator


you should only give the numbers not the hexadecimal values like
java.naming.provider.url=jnp://[fe80::216:72ff:fe3c:21gf]:19014



ipv6 protocol supports the above type of IP address representation.

Wiki entry
 
gaurav abbi
Ranch Hand
Posts: 108
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
can you point me to some example where rmi call is being made using ipv6.
it would be really helpful.
 
I have gone to look for myself. If I should return before I get back, keep me here with this tiny ad:
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic