Re: problem with port forwarding
From: Georg D. (georg_at_nospam)
Date: 12/03/03
- Next message: Mikhail Umorin: "Re: X11 forwarding in OpenSSH question"
- Previous message: Jacob Nevins: "Re: Setting PuTTy default connection settings (Esp. Logging)"
- In reply to: Darren Tucker: "Re: problem with port forwarding"
- Next in thread: Darren Tucker: "Re: problem with port forwarding"
- Reply: Darren Tucker: "Re: problem with port forwarding"
- Reply: Nico Kadel-Garcia: "Re: problem with port forwarding"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Date: Wed, 03 Dec 2003 20:03:35 GMT
"Darren Tucker" <dtucker@dodgy.net.au> schrieb im Newsbeitrag
news:bqj9fm$a7f$1@gate.dodgy.net.au...
> In article <HP2zb.71941$361.29597@news.chello.at>,
> Georg D. <georg@nospam> wrote:
> [port forwarding]
> >- the server sees "connection refused" (?), and closes the channel
> >
> >- if I try connection to the same local port on the server withing
> >the same ssh session with telnet - it works
>
> Try forwarding to "127.0.0.1:3306" rather than "localhost:3306".
>
> OpenSSH is IPv6-aware and it might be trying to connect via IPv6
> while your application is only listening on IPv4. Using a numeric
> IPv4 loopback address will (should?) make it connect via IPv4. You can
> also restart your sshd with "-4" to make is use IPv4 only.
that helped - thanks alot!
I wonder if it would help to add localhost as 127.0.0.1 in hosts and
on the dns server. Is this a good idea?
thanks,
Georg
- Next message: Mikhail Umorin: "Re: X11 forwarding in OpenSSH question"
- Previous message: Jacob Nevins: "Re: Setting PuTTy default connection settings (Esp. Logging)"
- In reply to: Darren Tucker: "Re: problem with port forwarding"
- Next in thread: Darren Tucker: "Re: problem with port forwarding"
- Reply: Darren Tucker: "Re: problem with port forwarding"
- Reply: Nico Kadel-Garcia: "Re: problem with port forwarding"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|
|