NOTICE: This website will be shut down in the near future. Product content has moved to Forum content and FAQs have been moved to We encourage you to create a user account on to use the new community forums and access NXP microcontroller content. We greatly appreciate your contributions and look forward to seeing you at our new web location.


"Connection Refused" error when starting a debug session on Linux

lpcxpresso-support's picture

On some Linux systems, when starting a debug session a "Connection refused" error may be displayed.

This is because a critical system library is not installed where we expect to find it. The location of the library depends on the version of Linux you are running,

Note: It is critical that you use the 32-bit version of the library.

To resolve this issue, open a Terminal Window and execute the following commands

64-bit systems

After installing the 32-bit compatibility libraries (as described in the LPCXpresso User Manual)

cd /lib/i386-linux-gnu
sudo ln -sf

Fedora and OpenSUSE (32-bit)

[Note that OpenSUSE is not an officially supported platform.]
cd /usr/lib
sudo ln -sf

Your rating: None Average: 5 (1 vote)