Dec 11 23

Recently I tried to use dnsjava to resolve whatever address request.getRemoteAddr() would return. This worked very well in most cases. However, in some cases I would see something like:

java.net.UnknownHostException: Invalid address: fe80::1d9:b65a:ed86:7940%11

Not being much of a networking expert I was puzzled about the ‘%11′. Once again superuser.com came to rescue:  http://superuser.com/questions/99746/why-is-there-a-in-the-ipv6-address.

Leave a Reply