SMB connection to iMac timing out

I can’t tell what changed but this was working and suddenly stopped.

I set up Kodi under OSMC to talk to my iMac and a couple of Raspberry Pis via SMB.

This still works with the Pis but now when I try and connect to the iMac I get “Connection Timed Out”.

I have uploaded the logs as follows: