Skip to content

@browsermcp/mcp Fails to Start on Linux When Port 9009 is Free #151

@Michael20251

Description

@Michael20251

Similar to Issue #14 (Windows). On Linux, killProcessOnPort runs lsof -ti:9009 | xargs kill -9. When port is free, xargs runs kill with no PID and it fails. Fix: use xargs -r kill -9 so kill is not run when stdin is empty.

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