NMR

Magnetic Resonance Research Center

User Tools

Site Tools


troubleshooting:codemeter_troubleshooting

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

  • Go to System Settings → Network → Firewall → Options
  • Ensure CodeMeter is not being blocked
  • Firewall prompts can be silently missed after macOS updates

5. Check macOS Privacy / Network Permissions

  • Go to System Settings → Privacy & Security
  • Look for CodeMeter or Wibu entries and ensure they have network access

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

troubleshooting/codemeter_troubleshooting.txt · Last modified: by nmr

280 Stepan Chemistry Hall, Notre Dame, IN 46556 Phone (574) 631-8359 Fax (574) 631-6652