Quantcast
Channel: Active questions tagged ubuntu - Stack Overflow
Viewing all articles
Browse latest Browse all 6015

Nut (upsd) connection refused

$
0
0

I have tho Ubuntu server in one subnetwork 192.168.0.0/24.

  • 192.168.0.10 - Baremetal server, Ubuntu 24.04 (x86_64)
  • 192.168.0.11 - RPI, Ubuntu 24.04 (aarch64)

I have installed nut server on rpi. My nutd

nut.conf:MODE=netserver at 192.168.0.11 and MODE=netclient 192.168.0.10

upsd.conf

LISTEN 127.0.0.1 3493LISTEN 192.168.0.11 3493

upsmon.conf

MONITOR ups@192.168.0.11 1 admin mypass master

ups.conf

[ups]        driver = usbhid-ups        port = auto        offdelay = 90        ondelay = 5

Service nut-monitor running on 192.168.0.11 without problem, but on 192.168.0.10 logs:

 UPS [ups@192.168.0.11]: connect failed: Connection failure: No route to host

upsc also cannot connect from 192.168.0.10, but perfectly working on 192.168.0.11.

For testing purposes i`m disabled ufw on both servers.

hosts.deny and host.allow clean on both servers.

Also port is filtered from 10 and open from 11

10 $ nmap 192.168.0.11 -p 3493Host is up (0.00065s latency).PORT     STATE    SERVICE3493/tcp filtered nut11 $ nmap 192.168.0.11 -p 3493Host is up (0.00025s latency).PORT     STATE SERVICE3493/tcp open  nut 

Where find problem, and fix it?


Viewing all articles
Browse latest Browse all 6015

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>