Web interface on wrong address

Devin_Tesla

New Member
View Badges
Joined
Sep 25, 2020
Messages
20
Reaction score
16
Location
Canada
Rating - 0%
0   0   0
@Ranjib
Hi I powered down the reefpi for some electrical work on my house ssh in and requested a shutdown no problems
on reboot I can ssh in but the web interface is not loading

I have narrowed it down to the fallowing to it's binding on the wrong address 10.4.0.1 not 10.4.0.3
running reefpi 4.0 or 4.1

This is where I need help the IP on the reefpi is 10.4.0.3 and I can ssh in on that address
I'm not having any luck setting it to the right address as I'm not sure how to out side the web interface I can't load.



***@raspberrypi:~ $ sudo systemctl status reef-pi.service
● reef-pi.service - raspberry pi based reef tank controller
Loaded: loaded (/lib/systemd/system/reef-pi.service; enabled; vendor preset: enabled)
Active: active (running) since Sun 2021-07-04 08:59:44 EDT; 25s ago
Main PID: 335 (reef-pi)
Tasks: 9 (limit: 2063)
CGroup: /system.slice/reef-pi.service
└─335 /usr/bin/reef-pi daemon -config /etc/reef-pi/config.yaml

Jul 04 08:59:45 raspberrypi reef-pi[335]: 2021/07/04 08:59:45 Successfully started subsystem: system
Jul 04 08:59:45 raspberrypi reef-pi[335]: 2021/07/04 08:59:45 INFO: equipment subsystem: Finished syncing all equipment
Jul 04 08:59:45 raspberrypi reef-pi[335]: 2021/07/04 08:59:45 Successfully started subsystem: equipment
Jul 04 08:59:45 raspberrypi reef-pi[335]: 2021/07/04 08:59:45 Successfully started subsystem: temperature
Jul 04 08:59:45 raspberrypi reef-pi[335]: 2021/07/04 08:59:45 reef-pi is up and running
Jul 04 08:59:45 raspberrypi reef-pi[335]: 2021/07/04 08:59:45 Starting http server at: 10.4.0.1:80
Jul 04 08:59:45 raspberrypi reef-pi[335]: 2021/07/04 08:59:45 ERROR: Failed to run http server. Error: listen tcp 10.4.0.1:80: bind: cannot


***@raspberrypi:/ $ sudo netstat -tulnp
Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name
tcp 0 0 0.0.0.0:22 0.0.0.0:* LISTEN 562/sshd
tcp 0 0 127.0.0.1:6010 0.0.0.0:* LISTEN 566/sshd: pi@pts/0
tcp6 0 0 :::22 :::* LISTEN 562/sshd
tcp6 0 0 ::1:6010 :::* LISTEN 566/sshd: pi@pts/0
udp 0 0 0.0.0.0:68 0.0.0.0:* 556/dhcpcd
udp 0 0 0.0.0.0:36520 0.0.0.0:* 329/avahi-daemon: r
udp 0 0 0.0.0.0:5353 0.0.0.0:* 329/avahi-daemon: r
udp6 0 0 :::41013 :::* 329/avahi-daemon: r
udp6 0 0 :::5353 :::* 329/avahi-daemon: r
 

paparoof

Active Member
View Badges
Joined
May 19, 2019
Messages
143
Reaction score
170
Location
Minneapolis
Rating - 0%
0   0   0
I'm not a reef-pi guy, but my guess would be to look in /etc/reef-pi/config.yaml for a place to set it.
 
OP
OP
D

Devin_Tesla

New Member
View Badges
Joined
Sep 25, 2020
Messages
20
Reaction score
16
Location
Canada
Rating - 0%
0   0   0
that is what I figured but all that is there is

---
database: /var/lib/reef-pi/reef-pi.db
 

paparoof

Active Member
View Badges
Joined
May 19, 2019
Messages
143
Reaction score
170
Location
Minneapolis
Rating - 0%
0   0   0
can you set the pi to 10.4.0.1 so that the reef-pi server can bind to that address, just long enough go in, make the change you wanna make?
 
OP
OP
D

Devin_Tesla

New Member
View Badges
Joined
Sep 25, 2020
Messages
20
Reaction score
16
Location
Canada
Rating - 0%
0   0   0
I cat try it will have to pull it of the network as the inter vlan router is at 10.4.0.1
 

Mastering the art of locking and unlocking water pathways: What type of valves do you have on your aquarium plumbing?

  • Ball valves.

    Votes: 68 52.3%
  • Gate valves.

    Votes: 67 51.5%
  • Check valves.

    Votes: 33 25.4%
  • None.

    Votes: 29 22.3%
  • Other.

    Votes: 9 6.9%
Back
Top