• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

making a rmi call with ipv6

 
gaurav abbi
Ranch Hand
Posts: 108
  • Mark post as helpful
  • send pies
  • 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
 
krishnamoorthy kitcha
Ranch Hand
Posts: 96
  • Mark post as helpful
  • send pies
  • 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
  • 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.
 
Nitesh Kant
Bartender
Posts: 1638
IntelliJ IDE Java MySQL Database
  • Mark post as helpful
  • send pies
  • 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
  • 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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic