Error when running Nockchain: "Address already in use"

I’m encountering an issue when trying to run the Nockchain node. The process starts normally, including kernel boot, identity load, and peer ID assignment. However, it fails shortly after with the following error:

Error: Os { code: 98, kind: AddrInUse, message: “Address already in use” }

This seems to be related to the libp2p_swarm or networking layer. I haven’t changed the default ports, and as far as I know, no other instance of Nockchain is running.

Has anyone seen this before or knows what could be causing it? Could it be a lingering process or a misconfiguration?

Thanks in advance for any help!

Go into your .socket folder (if you can’t see it, run ls -a ), and delete the .sock file (rm -f nockchain_npc.sock ).

Great! Thanks!