GoogleCloudPlatform / distributed-load-testing-using-kubernetes

Distributed load testing using Kubernetes on Google Container Engine
http://cloud.google.com/solutions/distributed-load-testing-using-kubernetes
Apache License 2.0
442 stars 259 forks source link

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

Closed Silverbullet069 closed 1 year ago

Silverbullet069 commented 1 year ago

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.

Silverbullet069 commented 1 year ago

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