Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have a local webserver in my Mac (OS X 10.7.3). I was wondering how could I build a tunnel to "publish" it temporarily on the internet. For example, my server is running on localhost:20000 and I want it to be able through my VPS's domain name, let's say, on

So like

LOCAL:20000 -> SERVER:20000 -> INTERNET

I tried a SSH Tunnel ssh -L but I get

bind: Address already in use
channel_setup_fwd_listener: cannot listen to port: 25565
Could not request local forwarding.

And then the usual prompt :(. How can I achieve it?

share|improve this question

You must log in to answer this question.

Browse other questions tagged .