Port forwarding problem

0

When i run the app by chainlit run app.py command it shows 2024-01-03 15:57:27 - Your app is available at http://localhost:8000 but from my machine nothing is opening in localhost. How i can forward sagemaker jupyterlab to my own machine. I have got one way of solution

ssh -i <key-file> -N -L 8000:localhost:8000 ubuntu@<public-ip-address>

But I am not able to find <key-file> for sagemaker jupyterlab instance. Please help me

Dipika
gefragt vor 4 Monaten143 Aufrufe
1 Antwort
0
  1. Are you running this in cloud9?
  2. Are you running this locally?
profile picture
EXPERTE
beantwortet vor 4 Monaten
  • I am trying to run it into local machine.

  • What happens when you ssh to ubuntu@<public-ip-address> ? What is this public IP?

Du bist nicht angemeldet. Anmelden um eine Antwort zu veröffentlichen.

Eine gute Antwort beantwortet die Frage klar, gibt konstruktives Feedback und fördert die berufliche Weiterentwicklung des Fragenstellers.

Richtlinien für die Beantwortung von Fragen