Dont duplicate interfaces on port change 3.0

This commit is contained in:
2026-08-01 06:31:15 +03:00
parent be3bebeb5b
commit 703ca1b559
10 changed files with 106 additions and 85 deletions
+2 -2
View File
@@ -19,7 +19,7 @@ There is no payout address to configure. CKPool-solo pays the full block reward
## Connecting miners
The stratum port defaults to **3333** and can be changed in the *Configure* action. StartOS tries to publish the pool on that same port number on your network, so it is normally the port you give your miners — but check the **Stratum** interface after saving to see the actual external port, since the OS assigns a different one if your choice is already in use. Point each miner at:
The stratum port defaults to **3333** and can be changed in the *Configure* action — that setting is the network port your miners connect to. Check the **Stratum** interface after saving to see the port actually in use, since the OS assigns a different one if your choice is already claimed by another service. Point each miner at:
```text
stratum+tcp://<your-server-lan-address>:<stratum-port>
@@ -43,7 +43,7 @@ Otherwise connect with `stratum+ssl://` and certificate verification disabled. U
Everything lives in the **Configure** action: the stratum and stratum-TLS ports, vardiff (starting/min/max difficulty), idle-client disconnect, the coinbase tag embedded in solved blocks, ZMQ, TLS, log level, and an optional self-hosted mempool explorer URL for dashboard links.
Changing a port restarts the pool and rebinds the interface, so miners will reconnect on the new port — update them accordingly. Port choices that cannot work (colliding with each other, with the dashboard, or with ckpool's internal TLS bind) are rejected when you save rather than failing at startup.
Changing a port rebinds the interface without restarting the pool, so miners already connected on other ports keep hashing — but anything pointed at the old port must be updated. Setting both stratum ports to the same number is rejected when you save.
## Actions