langflow icon indicating copy to clipboard operation
langflow copied to clipboard

Can't access by a public ip, I install it on a linux server

Open hellangleZ opened this issue 1 year ago • 12 comments

Describe the bug A clear and concise description of what the bug is.

Browser and Version

  • Browser edge
  • Version the newest one

To Reproduce Steps to reproduce the behavior:

  1. Go to 'linux'
  2. Click on ' run langflow'
  3. Scroll down to '....'
  4. See error

Screenshots image

image

Additional context

I can curl by the linux server but couldn't use UI to access even on a local network windows

hellangleZ avatar May 17 '23 12:05 hellangleZ

Hey.

If you are using WSL maybe you haven't forwarded the port?

ogabrielluiz avatar May 17 '23 18:05 ogabrielluiz

Hey.

If you are using WSL maybe you haven't forwarded the port?

Just a common Ubuntu server on Azure Cloud, I can access public port such as jupyter and so on, but for langflow, it can't , even using private IP to access on another windows which is in the same subnet, I want to check if there is some setting for openning public access authorization ?

hellangleZ avatar May 18 '23 01:05 hellangleZ

After I change to another server, the problem is still there

image

image

hellangleZ avatar May 18 '23 03:05 hellangleZ

I have the same bug

yuanjinsongquyi avatar May 18 '23 07:05 yuanjinsongquyi

That's weird. I was able to deploy LangFlow in Railway so maybe it is a problem of exposing the right ports? I'm not sure.

ogabrielluiz avatar May 18 '23 13:05 ogabrielluiz

same issue here running on amazon linux

[2023-05-18 13:49:54 +0000] [2549] [INFO] Starting gunicorn 20.1.0 [2023-05-18 13:49:54 +0000] [2549] [INFO] Listening at: http://127.0.0.1:7860 (2549) [2023-05-18 13:49:54 +0000] [2549] [INFO] Using worker: uvicorn.workers.UvicornWorker [2023-05-18 13:49:54 +0000] [2566] [INFO] Booting worker with pid: 2566 [2023-05-18 13:49:54 +0000] [2566] [INFO] Started server process [2566] [2023-05-18 13:49:54 +0000] [2566] [INFO] Waiting for application startup. [2023-05-18 13:49:54 +0000] [2566] [INFO] Application startup complete.

wangzuohao avatar May 18 '23 13:05 wangzuohao

I can visit on edge but can not visit on chrome, weird

yuanjinsongquyi avatar May 19 '23 01:05 yuanjinsongquyi

langflow --host --port 7860 this can solve my problem

yuanjinsongquyi avatar May 19 '23 01:05 yuanjinsongquyi

langflow --host --port 7860 this can solve my problem

How to fill the host, I try 172.16.0.5(private ip) still not could access in public internet

hellangleZ avatar May 19 '23 06:05 hellangleZ

It works for me now

hellangleZ avatar May 22 '23 11:05 hellangleZ

hi,How did you do it? Can you take a look at examples,thanks

limumua avatar Jun 20 '23 05:06 limumua

This fixed my problem

Start Langflow like this: langflow --host 10.101.1.213 langflow --help for details image

sanmoh avatar Jul 04 '23 11:07 sanmoh

The problem might be due to port listening configuration. Try changing the host and port using this command:

langflow --host 0.0.0.0 --port 7860

YadongM avatar Jul 09 '23 13:07 YadongM

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

stale[bot] avatar Aug 23 '23 13:08 stale[bot]