fireworm71 / veriumMiner

veriumMiner for solomining and pools
Other
59 stars 36 forks source link

Deploying 2nd PI miner #20

Open africanman1961 opened 6 years ago

africanman1961 commented 6 years ago

While trying to deploy my second PI 3 miner I received this error - API bind to port 4048 failed - trying again in 20sec. I am assuming this port 4048 refers to this file. Is there an alternate port or is there another fix to this issue?

phiten commented 6 years ago

you have another instance of cpuminer running in the background. check top or htop an kill the background miner. then start your own instance of it.

dbkeys commented 6 years ago

Is there a way to run two instances of the miner simultaneously on the same machine ?

dbkeys commented 6 years ago

For those looking for answer, pleas use the--api-bind 0 option

./cpuminer -a cryptonight -o stratum+tcp://xmr.poolto.be:2999 -u <your_wallet_address> -p x --api-bind 0

-a : Mining Algorithm, "cryptonight" in case of Monero. -u : User, in case of the Monero Pool server, it's the wallet address that will receive the Mining Reward. -p : Password, received from server owner, most of times 'x' for public servers. -o : Pool server URL, with stratum+tcp: - Protocol //xmr.poolto.be - Server Address :2999 - Server Port

--api-bind 0 : disables the remote API interface.