duplicate RPCPORT
MarianMatys opened this issue · 1 comments
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!
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.