Ports 445 and 139: dperson/samba wont run as ports in use, terminating processes stops guacamole working

Using Docker 28.0.1, running on Proxmox on an N100 NUC.
I’m a non-linux native newbie trying to find my way using Google and, it turns out, a lot of time.

Docker has multiple containers that worked great, including a guacamole container.
I decided to install an rclone container, and mount an rclone encrypted mount which i’d then share usng a samba container over my network.

When I tried to install samba (dperson image)- it failed due to ports 445 and 139 being in use.

Nothing shows on portainer as using those ports

Google suggested I kill whatever is using those ports and see if Samba runs- it does.

  root@docker:~# sudo lsof -i -P -n | grep 139
  smbd         283 root   29u  IPv6  4236210      0t0  TCP *:139 (LISTEN)
  smbd         283 root   31u  IPv4  4236212      0t0  TCP *:139 (LISTEN)
  
  root@docker:~# sudo lsof -i -P -n | grep 445
  smbd         283 root   28u  IPv6  4236209      0t0  TCP *:445 (LISTEN)
  smbd         283 root   30u  IPv4  4236211      0t0  TCP *:445 (LISTEN)

If no samba is running- how is SMBD using the ports?
If I kill whatever is using 139 and 445 using

sudo kill -9 `sudo lsof -t -i:445`
sudo kill -9 `sudo lsof -t -i:139`

And then start the samba container, it runs and I can see my folder on the network.

However, I then cannot connect to my guacamole ip address- it just hangs forever.

This suggests that the guacamole container is for some reason using 139 and 445- but as far as I can tell it isn’t.
For some reason it isn’t possible for those two containers to run and be used at the same time (the guacamole container runs, but it can’t be connected to).

Can anyone help me?
I have fully reached the extent of my ability to troubleshoot this I think

Thanks

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.