Skip to content

port resource: take secondary ports into account#2289

Open
hbrunn wants to merge 2 commits intoYunoHost:devfrom
moshchot:master-ports-secondary
Open

port resource: take secondary ports into account#2289
hbrunn wants to merge 2 commits intoYunoHost:devfrom
moshchot:master-ports-secondary

Conversation

@hbrunn
Copy link
Copy Markdown

@hbrunn hbrunn commented Mar 31, 2026

The problem

port conflicts when an app uses multiple ports and isn't running at install time of second instance

Solution

adjust the regex searching for ports in use to also search for secondary ports

PR Status

...

How to test

install an app that uses multiple ports, ie libererp_ynh. stop the app, install another instance of the app and observe that without the patch, the chat port of the second instance will be 8072, while it should be 8073

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants