On my Pc i got a service which runs on port 51069. I want that this service is reachable with port 80. I tried this comand
ssh -L 51069:localhost:80 localhost
But it not works, when i ask with my browser for localhost i get not the web service behind 51069.