Could you explain further how you are set up? What are you using and how is it all plugged up?
Generally speaking, noise cancelling headphones work by utilising a small builtin microphone that 'listens' to the ambient sound immediately around you and then uses that signal to lower those sounds in your headphones.