

Connection refused is generally a network level issue meaning that a firewall is rejecting the tcp handshake, or more likely samba is not listening on that IP.
So you are attempting to connect to your samba server and the OS (not Samba) is saying there is no service running on that port so I am refusing your connection request.
So you have one of these problems
- Samba isn’t running in the first place
- Samba is crashing, systemd might be restarting it so if this problem is intermittent this is most likely
- you have firewall issues (you said firewall was off, but are they on the same subnet? Might be other firewalls in your network rejecting the connection?)
- Samba is listening on a different interface. I see you have lo/eth0 in your config most distros don’t use eth0 anymore are you sure that is correct?
Even if those interface names are correct sometimes network managers rename interfaces. So when Samba starts that might be the wrong interface name, but by the time you login it is correct. I would just remove that line and the bind interfaces only line as well unless you specifically need to bind to specific interfaces.
Try connecting to samba from the server itself on 127.0.0.1, which will probably work just fine because lo is probably a correct interface.
You can also look at what interfaces/IP samba is listening on by running one of these commands as root
ss -tlp | grep 445
netstat -nlp | grep 445








Even with https if you aren’t on TLS 1.3 the SNI (server name indicator) is not encrypted so the hostname you are trying to access would be visible to your ISP.
Forcing your browser to only use TLS1.3 would fix that but who knows how many sites it would break.