aspose file tools*
The moose likes Distributed Java and the fly likes making a rmi call with ipv6 Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Distributed Java
Bookmark "making a rmi call with ipv6" Watch "making a rmi call with ipv6" New topic
Author

making a rmi call with ipv6

gaurav abbi
Ranch Hand

Joined: Jan 05, 2007
Posts: 108
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

Joined: Feb 04, 2006
Posts: 96
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

Joined: Jan 05, 2007
Posts: 108
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

Joined: Feb 25, 2007
Posts: 1638


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


apigee, a better way to API!
gaurav abbi
Ranch Hand

Joined: Jan 05, 2007
Posts: 108
can you point me to some example where rmi call is being made using ipv6.
it would be really helpful.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: making a rmi call with ipv6