Port forwarding problem


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

asked 5 months ago155 views
1 Answer
  1. Are you running this in cloud9?
  2. Are you running this locally?
profile picture
answered 5 months ago
  • I am trying to run it into local machine.

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

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions