This can be caused by the mDNSResponder service not working correctly. If you don’t see the expected computers and/or servers in the sidebar of your Finder window, you may try to kill the mDNSResponder service to get it restarted. That solved the problem for me.
In terminal, simply execute the following command:
sudo killall mDNSResponder