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

Open
SwapnilChand opened this issue Dec 12, 2024 · 0 comments
Open

Comments

@SwapnilChand
Copy link
Contributor

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.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant