Skip to content
View in the app

A better way to browse. Learn more.

Unraid

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Web UI connection refused. SMB/ SSH access ok

Featured Replies

Hello! I'm farily new to this and would really appreciate your help here. Until recently, I had no problem accessing the Web UI either through the the static IP address or tower/main. Since a power outage few months ago I have not been able to access it whatsoever. The browser just shows "connection refused" (see attached screenshot). I can access SMB on my win machine and connect via SSH/putty (attaching the diagnostics here). 

 

I researched all the forum threads but none of the solutions works. Can someone please help? Let me know if I could provide any additional info. thank you!!!

2024-04-24 001.jpg

tower-diagnostics-20240424-1914.zip

  • Author

Hi bmartino1,

 

I did reboot the system several times since amongst other things to no avail.

 

whats the current output of terminal command ip a

Not sure what this means but I have set a fixed Ip address 192.168.1.180 from my router.  I'm 100% certain that this address is not used by any other devices in my home network. Do you think reassigning to a different ip address could be the solution?

  • Author

Here's a screenshot from my router if it helps
image.thumb.png.3de8bc9bef4c41eabce3aa428ffdea3f.png

  • Community Expert

power cycle all the things. the error even with a permeant address is that 192.168.1.180 is in use on the network.

If you turn off unraid can you ping 192.168.1.180?

Terminal is the command line on unraid at boot or if able to ssh into the system to run linux commands. ip a display all your interfaces and current IP assignments..

You may have grabbed the wrong interface address for unraid static ip... Delete the network config in the config folder on the flash drive and let unraid rebuild the network settings...

  • Author

Gotcha! Thanks for bearing with a noob.
 

This is what i got from ip a. No idea what I'm looking at. Do I want to go ahead and delete network config file?

 

651254842_2024-04-25002.thumb.jpg.b7eba2e685d558eadd17eadfaf43ea59.jpg

1830590992_2024-04-25003.thumb.jpg.2ac8469d80bd63fcb4505bb30c44c941.jpg

1223428520_2024-04-25004.jpg.43b85df23dffb8a993c8168d3412120d.jpg

  • Author

I confirm the ip address is set to Unraid server's mac address. 

I also tried your previous suggestion on deleting network.config file and rooting. Unfortunately it did not work. Anything else I should try?

 

image.png.c4a57f5eb259544a6f79fd759397b7ab.png

  • Community Expert

try in browser to see if you can hit a specfic web page:

What web browser are you using to connect?
https://192.168.1.180/login

http:////192.168.1.180

https://192.168.1.180/Dashboard

in Unraid terminal, what is the output of 
/etc/rc.d/rc.nginx status

 

  • Author

I tried on firefox, chrome and edge but none worked on any of these addresses. 

 

As for the output you asked here you are:

 

 1243224206_2024-04-27001.jpg.1fb24eea1165e0411696d0f994ec3cc2.jpg

2024-04-27 004.png

2024-04-27 002.png

2024-04-27 003.png

  • Community Expert

since nginx x is not running and that is the web server, please run command and see if you can access the web gui:

/etc/rc.d/rc.nginx start

its weird that it didn't start. there may be something else breaking in your instance/setup.

  • Author

hi first of all just wanted to say a big thank you for guiding me through this.

Following your advise this is what I got. doesnt look like nginx started. 

image.thumb.png.25083f46b46de4dedde30c4bf10919b0.png

  • Community Expert

ok. somehow you have something running that is replacing the main bind and accesses.

is it a docker?

https://ioflood.com/blog/docker-stop-all-containers-one-command-to-stop-and-or-remove-every-docker-container/#:~:text=In this command%2C 'docker ps,'docker stop' halts them.&text=Similarly%2C docker ps -a -,docker rm command removes them.&text=Stopping or removing all containers simultaneously might disrupt ongoing tasks or services.
 

All in one command to run:
docker stop $(docker ps -a -q)
 

Please run command

docker ps 

to list all dockers..


Then stop a dockers

docker stop %name_of_docker%


is it a VM?
https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/7/html/virtualization_deployment_and_administration_guide/sect-managing_guest_virtual_machines_with_virsh-shutting_down_rebooting_and_force_shutdown_of_a_guest_virtual_machine

To show all VMS:
virsh list --all

shutdown via terminal:
virsh shutdown %VM-name%

Then try to start nginx:
/etc/rc.d/rc.nginx start
/etc/rc.d/rc.nginx restart

did a bad route get setup to the wg tunnel?
lets drop and kick the Wireguard tunnel:
wg-quick down wg*

Edited by bmartino1

  • Community Expert

If the above doesn't help.

it looks like unraid is running something that has replaced the ports that unraid would use.

if i'm reading your output correctly, it looks like ngnix gave you generic err 98.  port is in use on the unraid system.

So lets kill it via terminal command:

lsof -i :80

 

example of my output of above command.:

root@BMM-Unraid:~# lsof -i :80
COMMAND   PID USER   FD   TYPE DEVICE SIZE/OFF NODE NAME
nginx   12275 root    8u  IPv4  14264      0t0  TCP localhost:http (LISTEN)
nginx   12275 root    9u  IPv4  14265      0t0  TCP BMM-Unraid:http (LISTEN)


Then kill all and any apps in the list to do this look at PID #

Command:
I forget the command...
https://docs.oracle.com/cd/E19253-01/817-0403/eoizf/index.html


This should work example:
kill -9 12275

or

kill -SIGKILL 12275

you can also use htop in terminal....

Then try to start nginx:
/etc/rc.d/rc.nginx start
/etc/rc.d/rc.nginx restart

Edited by bmartino1
fix tested working commands

  • Author

Following your suggestion here's what I got

 

I confirm no docker is taking the :80 port and I'm not running any VMs.

image.thumb.png.13da7d527f2105704f47b99004139538.png

 

so isof command shows one instance - tailscale docker, and i killed it. 

image.thumb.png.55f2f8ad022b9f4fb6fcfc2352083a61.png

 

image.png.8e375903ea339f928ba3dbf020e89624.png

 

After confirming tailscale is killed using lsof command again (nothing shows up), I tried to start nginx but it still showed address in use....

image.thumb.png.c46e9d73543660f085af32abc8fab43a.png

 

 

btw i also tried lsof -i:445 and the output is as follows in case it helps with your further diagnose.

image.thumb.png.5ead9ef078862deac1f465e7a26aa580.png

 

 

Kindly let me know if I followed all the steps correctly? Thank you so much sir!

 

image.png

Edited by muddyclapton

  • Community Expert

what is the contents of the extra folder on unraid:
/boot/extra# ls
screen-4.9.1-x86_64-1_nerdtools.txz

per other post:


Looks like your tailscale is broken on unraid and is prevening the web gui access.
https://tailscale.com/kb/1080/cli
try to run tailscale down

Then kill the processes if running on port 443 and port 80

then stoped nginx service
/etc/rc.d/rc.nginx stop
 

confirm you got stop message

Then start

/etc/rc.d/rc.nginx start

Edited by bmartino1

  • Author

Sorry for the late reply I was occupied at work :(

 

 

--quote--

what is the contents of the extra folder on unraid:
/boot/extra# ls
screen-4.9.1-x86_64-1_nerdtools.txz
--unquote--
 

I'm not quite sure what you meant by this. Is this something I should be looking for in the unraid flashdrive? I tried it in putty but nothing came out of it.

 image.png.02b6806f7e198725b0541ac60a9ea8d6.png

 

The <tailscale down> command didnt work, but I managed to kill it with <docker kill> command.

image.png.5241d02189897668d574168e1a316ef7.png

 

At this point I tried the nginx STOP/ START commands but got same error messages as previous post:

 

image.png.1ab7141a6b2188ebc049fdeedc421cd5.png

 

image.thumb.png.ff0cd864f869653334327173097f74d1.png

 

image.png

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.