openjdk team mailing list archive
-
openjdk team
-
Mailing list archive
-
Message #03020
Bug#560056: net.ipv6.bindv6only=1 breaks java networking
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Patrice DUROUX schrieb:
> tcp6 0 0 :::8080 :::* LISTEN 19152/java
I think that is the correct behaviour. The server listens on :::8080 and
net.ipv6.bindv6only=1 is set. That means it won't accept IPv4
connections. You can try setting an explicit IPv4 address it should
listen on. But if localhost resolves to an IPv6 address like
$ getent hosts localhost
::1 localhost ip6-localhost ip6-loopback
you should be able to connect to http://localhost:8080 with your browser
but http://127.0.0.1:8080 would not work.
> It seems that the following one is missing, isn't it?
>
> tcp6 0 0 :::8009 :::* LISTEN 19152/java
Is it? I do not really know.
Cheers,
Torsten
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iEYEARECAAYFAkuQ19EACgkQfY3dicTPjsNjNACeLIZfVskM2rAKb2hWhdfkNdDq
LIgAn0Hd2pTp402K6mdYLxRp3a3L0j4E
=tNoL
-----END PGP SIGNATURE-----
References