GoogleCloudPlatform/distributed-load-testing-using-kubernetes

Can't Open an SSH tunnel from Cloud Shell to the proxy instance

Closed this issue · 1 comments

After running
gcloud compute ssh --zone ${ZONE} ${PROXY_VM} \ -- -N -L 8089:localhost:8089
It responses:
bind [::1]:8089: Cannot assign requested address

Since that i can't connect to Locust web interface.

Nevermind,, now I know [::1] is actually an IPv6. Changing to IPv4 by adding -4

gcloud compute ssh --zone ${ZONE} ${PROXY_VM} \ -- -4 -N -L 8089:localhost:8089