A few weeks ago I started having issues with connecting to my SMB shares.
I first noticed the issue on VLC on my Android phone, and thought that the issue was on the client side. But then I noticed that I couldn't connect from either Linux or Windows on my PC.
On Windows diagnostics tells me that the SMB port is not open, something that nmap and netstat confirms (Output attached below).
As far as I understand port 445 is the port that SMB uses, but it's not present in any of the outputs.
I can access the same share using NFS without issues. I have tried rebooting the server several times, and i have run chkdsk on the boot USB and that did not report any issues.
How should I proceed with the troubleshooting? The diagnostics output is attached as well.
Thank you!
nmap output:
❯ nmap 10.150.0.4
Starting Nmap 7.95 ( https://nmap.org ) at 2024-05-19 14:45 CEST
Nmap scan report for nginx.hultergard.com (10.150.0.4)
Host is up (0.00015s latency).
Not shown: 989 closed tcp ports (conn-refused)
PORT STATE SERVICE
22/tcp open ssh
80/tcp open http
81/tcp open hosts2-ns
111/tcp open rpcbind
443/tcp open https
2049/tcp open nfs
3000/tcp open ppp
3001/tcp open nessus
5432/tcp open postgresql
5900/tcp open vnc
8080/tcp open http-proxy
Nmap done: 1 IP address (1 host up) scanned in 0.04 seconds
Netstat output:
root@Tower:~# sudo netstat -tulpn
Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name
tcp 0 0 0.0.0.0:6767 0.0.0.0:* LISTEN 1987/docker-proxy
tcp 0 0 0.0.0.0:7878 0.0.0.0:* LISTEN 12522/docker-proxy
tcp 0 0 192.168.122.1:53 0.0.0.0:* LISTEN 9225/dnsmasq
tcp 0 0 0.0.0.0:8080 0.0.0.0:* LISTEN 9420/docker-proxy
tcp 0 0 0.0.0.0:8096 0.0.0.0:* LISTEN 11398/docker-proxy
tcp 0 0 0.0.0.0:8118 0.0.0.0:* LISTEN 7583/docker-proxy
tcp 0 0 0.0.0.0:8112 0.0.0.0:* LISTEN 7604/docker-proxy
tcp 0 0 0.0.0.0:5055 0.0.0.0:* LISTEN 10015/docker-proxy
tcp 0 0 0.0.0.0:5700 0.0.0.0:* LISTEN 9388/qemu-system-x8
tcp 0 0 0.0.0.0:5900 0.0.0.0:* LISTEN 9388/qemu-system-x8
tcp 0 0 0.0.0.0:55081 0.0.0.0:* LISTEN 3418/rpc.statd
tcp 0 0 0.0.0.0:5355 0.0.0.0:* LISTEN 4566/wsdd2
tcp 0 0 0.0.0.0:5355 0.0.0.0:* LISTEN 4566/wsdd2
tcp 0 0 0.0.0.0:5432 0.0.0.0:* LISTEN 6080/docker-proxy
tcp 0 0 0.0.0.0:43917 0.0.0.0:* LISTEN 3437/rpc.mountd
tcp 0 0 0.0.0.0:43921 0.0.0.0:* LISTEN -
tcp 0 0 0.0.0.0:3001 0.0.0.0:* LISTEN 10392/docker-proxy
tcp 0 0 10.150.0.4:1180 0.0.0.0:* LISTEN 3619/nginx: master
tcp 0 0 127.0.0.1:11443 0.0.0.0:* LISTEN 3619/nginx: master
tcp 0 0 10.253.0.1:2049 0.0.0.0:* LISTEN -
tcp 0 0 0.0.0.0:3702 0.0.0.0:* LISTEN 4566/wsdd2
tcp 0 0 0.0.0.0:3702 0.0.0.0:* LISTEN 4566/wsdd2
tcp 0 0 10.150.0.4:22 0.0.0.0:* LISTEN 3214/sshd: /usr/sbi
tcp 0 0 127.0.0.1:2049 0.0.0.0:* LISTEN -
tcp 0 0 0.0.0.0:44399 0.0.0.0:* LISTEN 3437/rpc.mountd
tcp 0 0 0.0.0.0:8920 0.0.0.0:* LISTEN 11375/docker-proxy
tcp 0 0 0.0.0.0:8989 0.0.0.0:* LISTEN 13927/docker-proxy
tcp 0 0 127.0.0.1:1180 0.0.0.0:* LISTEN 3619/nginx: master
tcp 0 0 0.0.0.0:81 0.0.0.0:* LISTEN 5100/nginx: master
tcp 0 0 0.0.0.0:80 0.0.0.0:* LISTEN 5100/nginx: master
tcp 0 0 0.0.0.0:111 0.0.0.0:* LISTEN 3414/rpcbind
tcp 0 0 0.0.0.0:443 0.0.0.0:* LISTEN 5100/nginx: master
tcp 0 0 10.253.0.1:22 0.0.0.0:* LISTEN 3214/sshd: /usr/sbi
tcp 0 0 0.0.0.0:34349 0.0.0.0:* LISTEN 3437/rpc.mountd
tcp 0 0 0.0.0.0:58946 0.0.0.0:* LISTEN 7517/docker-proxy
tcp 0 0 10.150.0.4:2049 0.0.0.0:* LISTEN -
tcp 0 0 127.0.0.1:16509 0.0.0.0:* LISTEN 9092/libvirtd
tcp 0 0 10.253.0.1:1180 0.0.0.0:* LISTEN 3619/nginx: master
tcp 0 0 0.0.0.0:58846 0.0.0.0:* LISTEN 7560/docker-proxy
tcp 0 0 0.0.0.0:9696 0.0.0.0:* LISTEN 15087/docker-proxy
tcp6 0 0 :::6767 :::* LISTEN 1992/docker-proxy
tcp6 0 0 :::7878 :::* LISTEN 12529/docker-proxy
tcp6 0 0 :::8080 :::* LISTEN 9429/docker-proxy
tcp6 0 0 :::8096 :::* LISTEN 11405/docker-proxy
tcp6 0 0 :::8118 :::* LISTEN 7590/docker-proxy
tcp6 0 0 :::8112 :::* LISTEN 7611/docker-proxy
tcp6 0 0 :::5055 :::* LISTEN 10022/docker-proxy
tcp6 0 0 :::38511 :::* LISTEN -
tcp6 0 0 :::5432 :::* LISTEN 6088/docker-proxy
tcp6 0 0 :::35535 :::* LISTEN 3437/rpc.mountd
tcp6 0 0 :::3001 :::* LISTEN 10398/docker-proxy
tcp6 0 0 :::3000 :::* LISTEN 5106/node
tcp6 0 0 :::36855 :::* LISTEN 3437/rpc.mountd
tcp6 0 0 :::44509 :::* LISTEN 3437/rpc.mountd
tcp6 0 0 :::8920 :::* LISTEN 11384/docker-proxy
tcp6 0 0 :::8989 :::* LISTEN 13934/docker-proxy
tcp6 0 0 :::81 :::* LISTEN 5100/nginx: master
tcp6 0 0 :::80 :::* LISTEN 5100/nginx: master
tcp6 0 0 :::111 :::* LISTEN 3414/rpcbind
tcp6 0 0 :::443 :::* LISTEN 5100/nginx: master
tcp6 0 0 :::58946 :::* LISTEN 7523/docker-proxy
tcp6 0 0 :::34005 :::* LISTEN 3418/rpc.statd
tcp6 0 0 :::58846 :::* LISTEN 7568/docker-proxy
tcp6 0 0 :::9696 :::* LISTEN 15094/docker-proxy
udp 0 0 192.168.122.1:53 0.0.0.0:* 9225/dnsmasq
udp 0 0 0.0.0.0:67 0.0.0.0:* 9225/dnsmasq
udp 0 0 10.150.0.4:68 0.0.0.0:* 1164/dhcpcd: [netwo
udp 0 0 10.150.0.4:111 0.0.0.0:* 3414/rpcbind
udp 0 0 10.253.0.1:111 0.0.0.0:* 3414/rpcbind
udp 0 0 127.0.0.1:111 0.0.0.0:* 3414/rpcbind
udp 0 0 10.150.0.4:123 0.0.0.0:* 1276/ntpd
udp 0 0 127.0.0.1:123 0.0.0.0:* 1276/ntpd
udp 0 0 10.253.0.1:33236 0.0.0.0:* 3735/unraid-api
udp 0 0 127.0.0.1:659 0.0.0.0:* 3418/rpc.statd
udp 0 0 0.0.0.0:58946 0.0.0.0:* 7540/docker-proxy
udp 0 0 0.0.0.0:59083 0.0.0.0:* 3437/rpc.mountd
udp 0 0 127.0.0.1:2049 0.0.0.0:* -
udp 0 0 10.253.0.1:2049 0.0.0.0:* -
udp 0 0 10.150.0.4:2049 0.0.0.0:* -
udp 0 0 0.0.0.0:51566 0.0.0.0:* 4611/avahi-daemon:
udp 0 0 10.150.0.4:43540 0.0.0.0:* 3735/unraid-api
udp 0 0 0.0.0.0:51820 0.0.0.0:* -
udp 0 0 0.0.0.0:60835 0.0.0.0:* 3418/rpc.statd
udp 0 0 0.0.0.0:3702 0.0.0.0:* 4566/wsdd2
udp 0 0 0.0.0.0:3702 0.0.0.0:* 4566/wsdd2
udp 0 0 0.0.0.0:5353 0.0.0.0:* 4611/avahi-daemon:
udp 0 0 0.0.0.0:5355 0.0.0.0:* 4566/wsdd2
udp 0 0 0.0.0.0:5355 0.0.0.0:* 4566/wsdd2
udp 0 0 0.0.0.0:38891 0.0.0.0:* -
udp 0 0 0.0.0.0:55704 0.0.0.0:* 3437/rpc.mountd
udp 0 0 0.0.0.0:55786 0.0.0.0:* 3414/rpcbind
udp 0 0 0.0.0.0:39619 0.0.0.0:* 3437/rpc.mountd
udp6 0 0 :::57411 :::* 3414/rpcbind
udp6 0 0 :::57421 :::* -
udp6 0 0 ::1:111 :::* 3414/rpcbind
udp6 0 0 :::50009 :::* 3437/rpc.mountd
udp6 0 0 :::58946 :::* 7547/docker-proxy
udp6 0 0 :::51820 :::* -
udp6 0 0 :::45189 :::* 3437/rpc.mountd
udp6 0 0 :::38426 :::* 3418/rpc.statd
udp6 0 0 :::39577 :::* 3437/rpc.mountd
tower-diagnostics-20240519-1441.zip