When trying to connect to a shared folder on a windows 7 or xp computer from a MFP (copier/scanner/printer) why would I be able to connect to it using the hosts IP address but not computer name?

I see some computers I can use the computer name and some will only work with the IP address and I don't know why.
_________________________

Matt