Re: problem with port forwarding
From: Darren Tucker (dtucker_at_dodgy.net.au)
Date: 12/03/03
- Previous message: Georg D.: "Re: enable ssh question"
- In reply to: Georg D.: "problem with port forwarding"
- Next in thread: Georg D.: "Re: problem with port forwarding"
- Reply: Georg D.: "Re: problem with port forwarding"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Date: Wed, 03 Dec 2003 00:07:18 GMT
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.
--
Darren Tucker (dtucker at zip.com.au)
GPG key 8FF4FA69 / D9A3 86E9 7EEE AF4B B2D4 37C9 C982 80C7 8FF4 FA69
Good judgement comes with experience. Unfortunately, the experience
usually comes from bad judgement.
- Previous message: Georg D.: "Re: enable ssh question"
- In reply to: Georg D.: "problem with port forwarding"
- Next in thread: Georg D.: "Re: problem with port forwarding"
- Reply: Georg D.: "Re: problem with port forwarding"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]