How are you attempting to stream the music to the iPhone. The only way I know of to make it happen would be via web access, which in your post you state is working properly.
The iPhone itself can not natively browse around on the network and access file shares, though there may be 3rd party apps that allow this.
Please provide any additional information that you can.