Monday, December 27, 2010

VMware ESX 4.1 smb - mount error 111 = connection refused

If you encounter the following error when you try to mount to a CIFS share on a windows server from service console as shown below:

[root@esx41 mnt]# mount -t cifs //192.168.44.88/shared /mnt/CIFS -o user=administrator
Password:
mount error 111 = Connection refused
Refer to the mount.cifs(8) manual page (e.g.man mount.cifs)


This is probably caused by the ESX firewall issue, to enable Samba client connections:

[root@esx41 samba]# esxcfg-firewall -e smbClient

And this should fix the mount error 111 problem.

2 comments:

Jim said...

I know this is an old post but Google sent me here and your answer was spot on. Thank you.

fenderCat said...

You are welcome :)