Table of Contents

TopSpin 3.* - CodeMeter CPR Listener Port Error

Error: “The program tried to start up the CPR Listener on the following TCP/IP port numbers but all of them seem to be unavailable. Checked port numbers: 5650-6672”

Troubleshooting Steps

1. Check for Zombie CodeMeter Process

ps aux | grep -i codemeter
ps aux | grep -i wibu

If multiple instances are running, kill them:

sudo pkill -f CodeMeter
sudo pkill -f wibu

Restart the CodeMeter daemon:

sudo /Library/CodeMeter/bin/codemetercc restart

2. Check What is Using the Ports

sudo lsof -i :5650-6672

This will identify any process squatting on the required ports.

3. Restart CodeMeter via launchctl

sudo launchctl stop com.wibu.CodeMeter.daemon
sudo launchctl start com.wibu.CodeMeter.daemon

4. Check macOS Firewall

5. Check macOS Privacy / Network Permissions

6. Full Reinstall (Last Resort)

  1. Uninstall TopSpin completely
  2. Remove CodeMeter manually:
sudo rm -rf /Library/CodeMeter/
# Also remove LaunchDaemons
sudo rm /Library/LaunchDaemons/*codemeter*
sudo rm /Library/LaunchDaemons/*wibu*
  1. Reboot
  2. Reinstall TopSpin fresh