It's an old topic, I know but maybe there's something new in the meantime...
I have the following scenario:
iPhone connected to OpenVPN but also a MacBook connected to the iPhone via Hotspot.
Following this
tutorial I could successfully publish the HomeSharing service to my iPhone (listed under "Music App -> Private Sharing -> Name of Library").
But if I tap on the Library the iPhone could not connect to the service.
I thought maybe it has to do something with the name resolution, but why doesn't it use the IP-Address also published by the service?