[xdebug-general] Re: Waiting for Xdebug session

From: Thiago Pojda <thiago.pojda[@]midiadigital.com.br>
Date: Tue, 23 Mar 2010 10:45:02 -0300

What a hack. hehehe

I'll write a post with this info on my blog. :)

(on portuguese)

Thiago Henrique Pojda
Search Engine Optimization

41 - 3311.7720

www.midiadigital.com.br
Interatividade gerando resultados

2010/3/18 Derick Rethans <derick[@]xdebug.org>

> On Thu, 18 Mar 2010, Thierry CHEN wrote:
>
> > Derick Rethans <derick[@]xdebug.org> a écrit:
> >
> > >> > - whether you can telnet to "127.0.0.1 9000".
> > >>
> > >> No:
> > >> proliant:/etc/php5/apache2# netstat -a | grep 9000
> > >> tcp6 0 0 [::]:9000 [::]:*
> LISTEN
> > >> proliant:/etc/php5/apache2# telnet 127.0.0.1 9000
> > >> Trying 127.0.0.1...
> > >> telnet: Unable to connect to remote host: Connection refused
> > >
> > > Well, there is your problem then. Xdebug only tries to connect with
> > > IPv4 and doesn't support IPv6. The above output shows that Eclipse
> > > is only listening on IPv6.
> >
> > Does it mean that we have to wait for xdebug IPV6 version to work with
> > last DEBIAN distribs (Sid)? (I did went back to the old DEBIAN release
> > (Lenny) for the moment, cause of my addiction to xdebug)
>
> Ah, I think I know what this is. Debian changed some default Java config
> so that it only works with IPv6 (Don't ask me why). To fix:
>
> Add /etc/sysctl.d/bindv6only.conf with contents:
>
> net.ipv6.bindv6only = 0
>
> then run: sysctl -p /etc/sysctl.d/bindv6only.conf
> and restart eclipse. Then check whether it listens again on the IPv4
> port.
>
> That should do the trick :)
>
> with kind regards,
> Derick
> --
> Like Xdebug? Consider a donation: http://xdebug.org/donate.php
> Xdebug | http://xdebug.org | xdebug-general@lists.xdebug.org
> twitter: @derickr and @xdebug
>
Received on Tue Mar 23 2010 - 13:45:24 GMT

This archive was generated by hypermail 2.2.0 : Mon Jun 25 2018 - 06:00:04 BST