Do these samples (that don't work) use destinations that use
the same channel? You can check that in data-management-config.xml.
If so, I'd think that it's a port problem, as you described. I'd
try to change the destination use different channels (and hence
different ports) and see if that makes a difference.