As I asked, are you sure you are choosing the mic input in Audacity? Doing so is not always obvious with a combo in and out port.
Have you tried disabling the internal mic? Sometimes there is a setting that combines the external and internal mic into one input. The internal mic may hear your headphones.