[Help] Connect to TOS7 UPS from esxi nut service  [SOLVED]

Discuss, seek assistance, and report issues related to hardware components, such as hardware platforms, memory, network ports, power supplies, UPS systems, and so on.
Post Reply
User avatar
psychov
Posts: 5
Joined: 29 May 2026, 00:00
Albania

[Help] Connect to TOS7 UPS from esxi nut service

Post by psychov »

Hi all.
Can You advice how to connect to TNAS UPS Server from ESXI7 via NUT?
ESXI says me that
2026-05-28T16:02:59.156Z upsmon[2136080]: UPS [192.168.1.5]: connect failed: Connection failure: Connection refused
2026-05-28T16:03:04.159Z upsmon[2136080]: UPS [192.168.1.5]: connect failed: Connection failure: Connection refused

This ip is bonded interface of F4-425+
In ESXI NUT I filled up right login password, but refused. What i'm doing wrong?

Thanks
User avatar
Gremlin
Gold Member
Posts: 1625
Joined: 02 Dec 2022, 22:31
Great Britain

Re: [Help] Connect to TOS7 UPS from esxi nut service

Post by Gremlin »

iirc nut server on Tnas has it's own set of credentials not related to authorised users.
F5-221 TOS7.0.0777 - 4x4TB (Ironwolf) Traid
F2-424 TOS7.0.0777 - 2x500GB nvme (P3) Traid, 2x6TB HDD (HGST) Traid
F2-221 TOS7.0.0777 - 1x3TB Ext4, 1x4TB Btrfs
F2-425+ TOS7.0.0777 - 2x500GB nvme (P3) Traid, 2x6TB HDD (EXOS) Traid
User avatar
psychov
Posts: 5
Joined: 29 May 2026, 00:00
Albania

Re: [Help] Connect to TOS7 UPS from esxi nut service

Post by psychov »

Gremlin wrote: 29 May 2026, 05:13 iirc nut server on Tnas has it's own set of credentials not related to authorised users.
Where I can find them?
User avatar
MikeZhang
TM Support
Posts: 381
Joined: 05 Sep 2023, 22:21

Re: [Help] Connect to TOS7 UPS from esxi nut service

Post by MikeZhang »

psychov wrote: 29 May 2026, 07:58
You may open TOS terminal and enter command line below and find from output.

Code: Select all

cat /etc/nut/upsd.users
To contact our team, please send email to following addresses, remember to replace (at) with @

Technical team: support(at)terra-master.com(for technical support)
Service team: service(at)terra-master.com(for purchasing, return, replacement, RMA service)
User avatar
psychov
Posts: 5
Joined: 29 May 2026, 00:00
Albania

Re: [Help] Connect to TOS7 UPS from esxi nut service

Post by psychov »

I provided uspd.users with
Image

and esxi nut with
Image

but no result. What i'm, doing wrong?
User avatar
EriChan
TM Support
Posts: 196
Joined: 06 Jan 2026, 12:27
United States of America

Re: [Help] Connect to TOS7 UPS from esxi nut service

Post by EriChan »

psychov wrote: 29 May 2026, 16:27
Regarding your issue where the ESXi host cannot connect to the TNAS UPS server, here is a detailed explanation and recommended steps:

Based on your feedback, the "Connection refused" error is a network-level problem, meaning the ESXi host cannot reach the NUT service port (3493) on your TNAS. This has no connection to the username and password configured in upsd.users.

In TOS 7, the NUT daemon (upsd) listens only on 127.0.0.1 (localhost) by default, and external queries are blocked by default unless you manually enable the required permissions.

Here are the steps to resolve this via the web UI:
  • Log into your TOS 7 system via a web browser.
  • Go to Control Panel > Hardware & Power > UPS.
  • Ensure that "Enable TNAS UPS Server" is correctly checked.
  • Be sure to add the exact IP address of your ESXi host to the "IP Addresses" list.
  • Click Apply.
After applying the settings, TOS will automatically modify upsd.conf to have upsd listen on your bonded interface (192.168.1.5). Please try this and let me know if your ESXi host can connect successfully.
User avatar
psychov
Posts: 5
Joined: 29 May 2026, 00:00
Albania

Re: [Help] Connect to TOS7 UPS from esxi nut service

Post by psychov »

EriChan wrote: 30 May 2026, 14:04
psychov wrote: 29 May 2026, 16:27
Regarding your issue where the ESXi host cannot connect to the TNAS UPS server, here is a detailed explanation and recommended steps:

Based on your feedback, the "Connection refused" error is a network-level problem, meaning the ESXi host cannot reach the NUT service port (3493) on your TNAS. This has no connection to the username and password configured in upsd.users.

In TOS 7, the NUT daemon (upsd) listens only on 127.0.0.1 (localhost) by default, and external queries are blocked by default unless you manually enable the required permissions.

Here are the steps to resolve this via the web UI:
  • Log into your TOS 7 system via a web browser.
  • Go to Control Panel > Hardware & Power > UPS.
  • Ensure that "Enable TNAS UPS Server" is correctly checked.
  • Be sure to add the exact IP address of your ESXi host to the "IP Addresses" list.
  • Click Apply.
After applying the settings, TOS will automatically modify upsd.conf to have upsd listen on your bonded interface (192.168.1.5). Please try this and let me know if your ESXi host can connect successfully.
Big thanks for Your answer!
Doing exactly what You said. 192.168.1.4 - ip address of ESXi host
Image
In ESXi's log see the following:
Image

something going wrong =))
User avatar
EriChan
TM Support
Posts: 196
Joined: 06 Jan 2026, 12:27
United States of America

Re: [Help] Connect to TOS7 UPS from esxi nut service

Post by EriChan »

To more effectively identify the root cause of the problem, we recommend that you contact our online technical support staff through the following link. We will guide you through troubleshooting steps to help resolve the related issues.

https://salesiq.zohopublic.com/signatur ... 97d0be8892

Thank you for your understanding and support!
User avatar
psychov
Posts: 5
Joined: 29 May 2026, 00:00
Albania

Re: [Help] Connect to TOS7 UPS from esxi nut service  [SOLVED]

Post by psychov »

In order to finish this issue - You simply need to add ups@ before the name or ip address of Yours UPS in ESXi options.
Image

Big thanxx to Terramaster tech support.
Post Reply

Return to “Hardware, Power and Accessories”