UI and SSH "connection refused"

I have now twice experienced a situation where I’m unable to access the WEB UI. The login page will not load and gives a connection refused error.

I also get the same error when attempting to SSH into the system.

All other services running on TrueNAS work perfectly.

I’m new to TrueNAS so I’m first of all, looking to see if anyone else has experienced this and what the resolution was. If nobody has seen this what would be the recommended troubleshooting steps as well as what logs to capture for further analysis.

TIA!

You can connect to the monitor and operate in the system command line. Maybe nginx is not working normally. Good luck. I haven’t encountered these situations.

Thanks for the info. Any suggestions on what and where to look? Logs to potentially send to iX?

Connect to the monitor and operate in the system ssh
systemctl restart nginx

systemctl status nginx

systemctl enable nginx

systemctl is-enabled nginx

systemctl status middlewared

systemctl status ssh

Did you ever figure this out? I am having a similar problem. I’ve been using Truenas for years. I finally moved it from a virtual machine in Proxmox to its own hardware. I moved the config over and it works across my entire network except one PC that can’t connect to it at all, web ui or SMB share. It all worked flawlessly before the move. I don’t even know where to begin. I’ll check nginx tomorrow like suggested and report back incase anyone else comes across this.

pretty reasonable that in your case is not a TN issue, rather than a client (pc) issue

I never got to a root cause. I made a change to my networking on the server to put both NICs into a bridge adapter and since that point I have not had any issues. So, I’m guessing that was related to the cause of the issue.

What version of TrueNAS are you running? Are you running any VMs within TrueNAS? I’m asking because I had issues with Incus assigning IP addresses and taking precedence over the DHCP server (router) on my network. That caused a lot of chaos! I wound up disabling Incus entirely and I’m only using the libvirt for the VM that I am running. (I tried MANY different ways to disable Incus DHCP but failed)

It could also ne a networking issue with the one PC…

I think you’re right. It’s weird that it worked a couple of times at first on the Windows PC, but then just quit. I even tried swapping cables and going to wi-fi. Crazy thing is, I haven’t made any config changes, network or Truenas, and this morning, It just worked. It all seems fine now and I can’t explain it.

I’m using Truenas Core 13.0-U6.8. No VMs within Truenas. Just pools and shares. I use Proxmox for all my virtualization.