UPS NUT SERVER

cosbern

New Member
Apr 2, 2022
10
1
3
Good morning

I installed an ups on my server using nut but i have a provlem that makes me mad:

Everything work fine locally, i can see the ups, the shutdown is ok when battery is low, i can read all the data, i setted a cgi-apache ups monitor to grapically watch everything. So lLOCALLY on my proxmox server everything is 100%working. I set the nut server as "mode=netserver" double checked all username and password,restarted the server multiple time but everytime i try to monitor the ups from.a client a get error : Connection error, connection refused.

I have no entry on the firewall to prevent access to port 3493 (default nut port), the firewall 8s "Virgin" untouched from the installation.
Any suggestion?
 
Hello,

If you're certain that your firewall is allowing traffic on that port, the only other thing I could think of is that NUT isn't listening. You'll want to ensure you have a `LISTEN` line in your ups.conf file with the IP address of your Proxmox host... so something like this:

Bash:
# /etc/nut/upsd.conf
##########################

LISTEN 127.0.0.1
LISTEN 127.0.1.1
LISTEN ::1
LISTEN 10.0.0.1     # <---- You're IP goes here
 
Hello,

If you're certain that your firewall is allowing traffic on that port, the only other thing I could think of is that NUT isn't listening. You'll want to ensure you have a `LISTEN` line in your ups.conf file with the IP address of your Proxmox host... so something like this:

Bash:
# /etc/nut/upsd.conf
##########################

LISTEN 127.0.0.1
LISTEN 127.0.1.1
LISTEN ::1
LISTEN 10.0.0.1     # <---- You're IP goes here
i found the problem, the solution you sent is partially corret:
i add

LISTEN 0.0.0.0

Hope that my help someone!
 
  • Like
Reactions: XRedShark

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!