Skip to content

LiveKit Connection Issue on Linux: Works on Mac but Not on Linux #49

Description

@miles-god

LIVEKIT_API_KEY="devkey"
LIVEKIT_API_SECRET="secret"
LIVEKIT_URL="ws://127.0.0.1:7880"

I am using a Linux system, and the above is the content of my .env.local file. However, I found that I cannot connect. How can I solve this issue? I used the same method on Mac, and it worked fine.

Activity

  1. davidzhao commented on Feb 6, 2025

    @davidzhao
    Contributor

    can you provide logs? what does livekit server indicate

  2. miles-god commented on Feb 7, 2025

    @miles-god
    Author

    can you provide logs? what does livekit server indicate

    It looks like the connection to the ws is not working. There seems to be an issue with LIVEKIT_URL="ws://127.0.0.1:7880". It works when I switch to the public IP, but I still want to use the local IP.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions