Chia-Network / chia-blockchain

Chia blockchain python implementation (full node, farmer, harvester, timelord, and wallet)
Apache License 2.0
10.81k stars 2.02k forks source link

[Bug] Testnet port 58444 is in the ephemeral port range #18731

Open madMAx43v3r opened 1 week ago

madMAx43v3r commented 1 week ago

What happened?

I tried to run testnet11 node again, but it failed because port 58444 was already used by another application as an outgoing port.

Which is no surprise because 58444 is in the ephemeral port range: 49152 to 65535

My suggestion: Use 48444?

Version

2.4.4

What platform are you using?

Linux

What ui mode are you using?

CLI

Relevant log output

OSError: [Errno 98] error while attempting to bind on address ('0.0.0.0', 58444): address already in use
wjblanke commented 5 days ago

There really isn't a clean way to fix this unless we are starting a new testnet. If we do create a new testnet this will be changed. Locally you could change your port to anything but DNS seeder will not give your IP to peers. Peers will only come from gossiping with other peers.

madMAx43v3r commented 5 days ago

Hmm, well, even for a new testnet you have the problem of old config files...