localhost IPv6 via jython

Quanah Gibson-Mount <[email protected]>
Newsgroups gmane.comp.lang.jython.user
Message-ID <6BFB732473ADA4D713436A3E@[192.168.1.7]>
I've noticed that it seems impossible to get jython to correctly use "::1" 
as "localhost" when binding to IPv6 in jython.  The behavior I get seems to 
vary by Linux distro as well, which is somewhat disturbing.  For example, 
on RHEL6, I'm getting:

tcp        0      0 ::ffff:127.0.0.1:7171       :::* 
LISTEN

There are two things wrong with the above... (a) it isn't tcp6, and (b) 
it's on a ipv4 mapped to ipv6 addr instead of ::1

telnet localhost 7171

Trying ::1...
telnet: connect to address ::1: Connection refused
Trying 127.0.0.1...
Connected to localhost.

Any thoughts on how to get real ipv6 binding for localhost under jython?

--Quanah

--

Quanah Gibson-Mount
Platform Architect
Zimbra, Inc.
--------------------
Zimbra ::  the leader in open source messaging and collaboration

------------------------------------------------------------------------------
Dive into the World of Parallel Programming. The Go Parallel Website,
sponsored by Intel and developed in partnership with Slashdot Media, is your
hub for all things parallel software development, from weekly thought
leadership blogs to news, videos, case studies, tutorials and more. Take a
look and join the conversation now. http://goparallel.sourceforge.net/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.