Problema: você está tentando se conectar ao soquete TCP errado.
Solução:
Em alguns clientes Linux, o localhost é resolvido para
o endereço de loopback IPv6 (::1).
Verifique isso usando ping -c 1 localhost. Se este comando retornar
o endereço IPv6, use -L 8080:127.0.0.1:8080
(em vez de -L 8080:localhost:8080) no
comando gcloud compute ssh.
Verifique se você se conectou a http://localhost:8080
(em vez de https://localhost:8080) no seu cliente local.
[[["Fácil de entender","easyToUnderstand","thumb-up"],["Meu problema foi resolvido","solvedMyProblem","thumb-up"],["Outro","otherUp","thumb-up"]],[["Difícil de entender","hardToUnderstand","thumb-down"],["Informações incorretas ou exemplo de código","incorrectInformationOrSampleCode","thumb-down"],["Não contém as informações/amostras de que eu preciso","missingTheInformationSamplesINeed","thumb-down"],["Problema na tradução","translationIssue","thumb-down"],["Outro","otherDown","thumb-down"]],["Última atualização 2025-03-27 UTC."],[[["A JupyterLab session is initialized when you start a Deep Learning VM Images instance."],["You can set up SSH port forwarding to access your JupyterLab session through a local browser using the `gcloud compute ssh` command."],["The `gcloud compute ssh` command requires you to specify your project ID, zone, and instance name."],["If using Cloud Shell, you might need to add a `-4` flag to the SSH command to connect via IPv4."],["If you encounter connection issues, ensure you are using the correct localhost IP address (127.0.0.1 instead of ::1) and protocol (http instead of https)."]]],[]]