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
Feature Request: Ability to set base ports #533
Comments
Thanks for this feedback. It shouldn't be too difficult to add a screen to the UI to specify these base ports. |
I'm having the same issue while working on React-native project. RN Metro bundler also uses 8081. Maybe you can just switch to some rare or random port? |
Way to fix this:
|
Hi @jamaljsr, I would like to take on this. I'll post updates once I begin. |
I came across this code block: I think it ensures that ports do not conflict by checking for open ports before assigning any to a node. I also tried to make the ports conflict - I started a service on @jamaljsr I believe you're aware of this, so do you think I should go ahead and implement the feature or what would you advise? |
@Abdulkbk yes, Polar will already detect and avoid using ports that are already in use. The situation that @dangeross is describing is that initially Polar assigns LND REST ports starting at The list of starting port numbers ( I hope this all makes sense. Feel free to ask any clarifying questions. |
This makes perfect sense. Thanks for clarifying. |
Is your feature request related to a problem? Please describe.
The base port for LND REST api for the first node is usually 8081. This port seems to conflict with other applications (e.g. local development), but in particular it conflicts with XCode build PhaseScriptExecution which runs on 8081.
Describe the solution you'd like
To be able to configure the base port settings manually either in the settings.json file or via UI
The text was updated successfully, but these errors were encountered: