verificar porta que um serviço usa
service smb stop netstat -ln > netstat-ln-smb.before service smb start netstat -ln > netstat-ln-smb.after diff netstat-ln-smb.*