how to check port 139 is open
netbios-ssn Port 139 open on Linux machine. The first thing to check is if it really is netbios. As growse says netstat-natp will show you which program is listening on the port. If it is nmbd, then you need to shutdown the server and make sure it never starts again (i.e. uninstall everything you don't need).