From: martin on

On Tuesday 29 December 2009 15.00.36 Joost Kraaijeveld wrote:
> Could it be this (from the AMD64 list)?
>
> http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=560056
> http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=560238
>
> Workaround:
>
> /etc/sysctl.d/bindv6only.conf
>
> -> net.ipv6.bindv6only = 0
>
> See also Thread "Java Anwendungen - keine Netzwerk/Internetverbindung
> mehr" in the german debuan-users list.
>

Yes, that solved my problem. Thank!

Martin


--
To UNSUBSCRIBE, email to debian-user-REQUEST(a)lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster(a)lists.debian.org
From: martin on
On Tuesday 29 December 2009 15.01.29 jeff d wrote:
> Sent from my coffee machine
>
> On Dec 29, 2009, at 7:36 AM, martin <martin.juhlin(a)home.se> wrote:
> > On Tuesday 29 December 2009 14.26.51 jeff dickison wrote:
> >> On Dec 29, 2009, at 7:07 AM, martin <martin.juhlin(a)home.se> wrote:
> >>> Hi,
> >>>
> >>> I have problem with IPv4 on my local network. Applications that is
> >>> trying to
> >>> connect to localhost with IPv4 gets “connection refused”. I have
> >>> constructed a
> >>> simple Java program that is triggering the problem. The program
> >>> simple just
> >>> N
> >>
> >> Hi Martin,
> >> What's the output of:
> >> sudo lsof -i:7000
> >
> > The output is as following:
> >
> > $ sudo lsof -i:7000
> > COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAME
> > java 6130 martin 4u IPv6 66197 0t0 TCP *:afs3-
> > fileserver(LISTEN)
> > $
> >
> > Martin
>
> So, this shows us its only listening on ipv6 and not on ipv4. Just a
> guess, but I would suspect that there might be an issue with the java
> app. Are you seeing this issue with other apps?
>

yes, ktorrent performs poorly. it also just listen on one port. After changed
"net.ipv6.bindv6only = 0" the is a lot more connections open.

Martin


--
To UNSUBSCRIBE, email to debian-user-REQUEST(a)lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster(a)lists.debian.org
From: Tom H on
> I have problem with IPv4 on my local network. Applications that is trying to
> connect to localhost with IPv4 gets “connection refused”. I have constructed a
> simple Java program that is triggering the problem. The program simple just
> open a socket port and waiting for a connection.
> Starting by doing the following:
> $ java DummyServer 7000

I had a colleague a few weeks ago who was pissed off after spending
what seemed like an entire day troubleshooting a problem only to find
out that the latest JDK defaults to ipv6-only. I am no longer at that
company to be able to look up his resolution, sorry.


--
To UNSUBSCRIBE, email to debian-user-REQUEST(a)lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster(a)lists.debian.org