The syntax for creating a tunnel is as follows:
ssh -N -L 127.0.0.1:8888:localhost:80 -i /Users/me/Desktop/LightsailDefaultKey.pem user@xx.xxxxx.com
However I cannot enter "localhost:80" app returns message The value “localhost:80” is invalid.
Is there any other way to solve this?
Thanks