Skip to content

Prevent Same name to be ported using 'as' command #6

Open

Description

@pkatuwal

ported using same name on same port

image

Results

No issues on browsing..

Ported Using different name on same port

image

Results

  • No issues on browsing
  • Both Service is running

So Main issue is, when stopping on service which is same name on same port will halt current active service

image

** Left ** and ** Right ** terminal is activated as same name. But Closing Right Terminal request prevent to browse which is valid but showing active on left is not valid.

Activity

  1. thebinary commented on Aug 17, 2020

    @thebinary
    Owner

    Actually the newer command run (with same service name) always replaces the older service endpoint. Older local service does not recieve any further requests.

    There are 2 possible options I currently see to resolve service name conflict:

    1. Replace older service with newer local endpoint and terminate old processes running in that name
    2. Disallow users to execute new process with service name conflict

    I see option 2 to be a better option but I want to give this a bit more thought before implementing. Till then I will keep this issue open.

    And this project is open for suggestions too 🙂

  2. self-assigned this
    on Aug 17, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions