Remote port forwarding


#1

What I’m trying to do is remote port forward http://example.com:8888
to http://localhost:3000

I can get a local tunnel from my box to the dreamhost box my site is i.e.
ssh -L 3307:localhost:3306 username@example.com
However, I haven’t had luck with remote port forwarding:

ssh -nNT -g -R *:8888:0.0.0.0:3000 example.com
Warning: remote port forwarding failed for listen port 8888

i get the same message with
ssh -nNT -g -R *:8888:0.0.0.0:3000 username@example.com
ssh -nNT -g -R *:8888:127.0.0.1:3000 example.com
ssh -nNT -g -R *:8888:127.0.0.1:3000 username@example.com

So I’m worried dreamhost disallows this. I’d really appreciate any suggestions as to whether this is possible and what I’m doing wrong if it is.


#2

If your account is a shared hosting account, you won’t be able to port forward from a DreamHost server to your local machine.

What are you trying to do? Maybe we can help solve your problem another way.

Free unique IP and $67 off with promo code [color=#CC0000]FLENSFREEIP67[/color] or use [color=#CC0000]FLENS97[/color] for $97 off. Click here for more options


#3

was trying to develop for facebook with a local rails app as described here
http://rfacebook.rubyforge.org/tunnel.html

so i guess just waiting to hear whether thats gonna be a possibility with the new dreamhost PS deal and if not i’m gonna need to get a dedicate hosting setup, which i can’t completely afford right now in terms of time/money.