Files sharing network – android access ext hdd via mac OS X

Hi,
Appreciate if someone can share with me how to configure Kodi to access an external HDD connected to iMac OS X using Android 5.0.2? Error message from kodi o. Android is “error 2…” and “connection refused”.

Other devices(iOS, windows and Mac and android base) and apps are able to connect and access the external HDD on iMac OS X without issue via either SAMBA or SMB protocol.

How to setup kodi to get this work? I have read and tried add files, network locations etc. And having view the forums for half a day and find no solution.

Thanks !