Skip to content
This repository was archived by the owner on Jan 13, 2025. It is now read-only.

Fix /editMode: Editor should open in another port if 3001 is occupied #211

@SwapnilChand

Description

@SwapnilChand

Problem Description

The current implementation of /editMode does not handle cases where port 3001 is already occupied. When attempting to open the editor, it should automatically switch to an alternative port (e.g., 3002) if 3001 is in use.

Expected Behavior

  • If port 3001 is occupied, the editor should check for the next available port (3002, 3003, etc.) and open there.
  • This will prevent conflicts when multiple instances are running.

Steps to Reproduce

  1. Start a service that occupies port 3001.
  2. Attempt to launch /editMode.
  3. Observe that it fails to open due to port conflict.

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