Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot specify PORT related config values from ENV on Windows #5930

Open
doesdev opened this issue Dec 20, 2024 · 0 comments
Open

Cannot specify PORT related config values from ENV on Windows #5930

doesdev opened this issue Dec 20, 2024 · 0 comments

Comments

@doesdev
Copy link

doesdev commented Dec 20, 2024

What's going wrong?

The following environment variables are not respected on Windows while they are on other platforms:

  • PM2_DAEMON_RPC_PORT
  • PM2_DAEMON_PUB_PORT
  • PM2_INTERACTOR_RPC_PORT

Non-privileged (Admin) user accounts on Windows cannot write to named pipes which can disrupt some PM2 operations under such accounts. By specifying a port the problem is sidestepped, but currently that can't be done as the values are overwritten right after assigning from ENV.

How could we reproduce this issue?

Run on Windows and the relevant observe config values.

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

No branches or pull requests

1 participant