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

duplicate RPCPORT #132

Open
MarianMatys opened this issue Aug 9, 2018 · 1 comment
Open

duplicate RPCPORT #132

MarianMatys opened this issue Aug 9, 2018 · 1 comment

Comments

@MarianMatys
Copy link

This gave me a bit of a headache, but finally, I figured that out.

I've installed two different projects, but can't get them running at once. The first one was always OK (I've even reinstalled server and tried over in opposite direction), but second never returned cli result ("error: incorrect rpcuser or rpcpassword (authorization failed)").

So the thing is you count with different ports if installing multiple instances of the same MN
rpcport=555XXX_NUM_XXX
but this NUM is not increasing when installing different projects. So both my projects had the same port, thus it wasn't working. I had to manually change the port in .conf file.

I guess this might cause a lot of confusion for noobs like me :)

Anyway, thanks a million for this automated script!

@ImTheDeveloper
Copy link
Contributor

Personally I use this script for bulk creation of the same coin nodes on one server. I would create a whole new server for other coins. I fully see your issue here, it would need to do a check to see which ports are in use and if they are then it starts its counting from the first freely available port.

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

2 participants