I have set up a simple http server on my local Windows 7 machine and I can access it from my Mac using the ip address and port number. However I can not access it using Windows machine's network name from Mac. At the same time I CAN access a smb share by name on the same computer from the same Mac. So if I go to
smb://dell-pc/ I will get connected, however, if I try this in browser
http://dell-pc:8000 or a simple
ping dell-pc in terminal I will get an error
ping: cannot resolve dell-pc: Unknown host
So apparently my Mac can resolve the name when accessing smb but fails to resolve it when pinging or accessing a web server. What's the logic here?