Welcome to the Cumulus Support forum.
Latest Cumulus MX V3 release 3.28.6 (build 3283) - 21 March 2024
Cumulus MX V4 beta test release 4.0.0 (build 4019) - 03 April 2024
Legacy Cumulus 1 release 1.9.4 (build 1099) - 28 November 2014
(a patch is available for 1.9.4 build 1099 that extends the date range of drop-down menus to 2030)
Download the Software (Cumulus MX / Cumulus 1 and other related items) from the Wiki
Latest Cumulus MX V3 release 3.28.6 (build 3283) - 21 March 2024
Cumulus MX V4 beta test release 4.0.0 (build 4019) - 03 April 2024
Legacy Cumulus 1 release 1.9.4 (build 1099) - 28 November 2014
(a patch is available for 1.9.4 build 1099 that extends the date range of drop-down menus to 2030)
Download the Software (Cumulus MX / Cumulus 1 and other related items) from the Wiki
hostname vs IP address
Moderator: mcrossley
-
- Posts: 154
- Joined: Thu 11 Mar 2010 11:03 am
- Weather Station: WH1081
- Operating System: Linux, Raspberry Pi (Wheezy)
- Location: Port Huon, Tasmania , Australia
- Contact:
hostname vs IP address
The beta has been running on my Raspberry Pi B+ for nearly 12 hours without any warnings messages - once I got the Cumulus.ini sorted out.
One thing I've just noticed is that I can connect to Cumulus server via the ip address but not the hostname. e.g.
http:192.168.1.128:8998 works but:
http:plusberry.homelan:8998 gives an error:
Bad Request (Invalid host)
Host is in the DNS and I can ping, ssh etc to it by name from other hosts.
One thing I've just noticed is that I can connect to Cumulus server via the ip address but not the hostname. e.g.
http:192.168.1.128:8998 works but:
http:plusberry.homelan:8998 gives an error:
Bad Request (Invalid host)
Host is in the DNS and I can ping, ssh etc to it by name from other hosts.
- steve
- Cumulus Author
- Posts: 26701
- Joined: Mon 02 Jun 2008 6:49 pm
- Weather Station: None
- Operating System: None
- Location: Vienne, France
- Contact:
Re: hostname vs IP address
Using the host name works OK for me, so there must be something different about the way our systems are set up. I don't know what that is, though...
Steve
-
- Posts: 220
- Joined: Mon 03 Jan 2011 4:27 pm
- Weather Station: Davis Vantage Pro2
- Operating System: Win 7
- Location: Willand, mid Devon.
- Contact:
Re: hostname vs IP address
I assume you are actually typing http://plusberry.homelan:8998tumutbound wrote:http:192.168.1.128:8998 works but:
http:plusberry.homelan:8998 gives an error:.
-
- Posts: 154
- Joined: Thu 11 Mar 2010 11:03 am
- Weather Station: WH1081
- Operating System: Linux, Raspberry Pi (Wheezy)
- Location: Port Huon, Tasmania , Australia
- Contact:
Re: hostname vs IP address
Yes, typo in the postAdrian Hudson wrote:I assume you are actually typing http://plusberry.homelan:8998tumutbound wrote:http:192.168.1.128:8998 works but:
http:plusberry.homelan:8998 gives an error:.
Still trying to track this one down. web server on the same host doesn't give this error.
- mcrossley
- Posts: 12756
- Joined: Thu 07 Jan 2010 9:44 pm
- Weather Station: Davis VP2/WLL
- Operating System: Bullseye Lite rPi
- Location: Wilmslow, Cheshire, UK
- Contact:
Re: hostname vs IP address
Using 'localhost' or '127.0.0.1' doesn't work for me either. Is MX only bound to the IP it spits out at initialisation?
- steve
- Cumulus Author
- Posts: 26701
- Joined: Mon 02 Jun 2008 6:49 pm
- Weather Station: None
- Operating System: None
- Location: Vienne, France
- Contact:
Re: hostname vs IP address
Yes.mcrossley wrote:Is MX only bound to the IP it spits out at initialisation?
Steve
-
- Posts: 154
- Joined: Thu 11 Mar 2010 11:03 am
- Weather Station: WH1081
- Operating System: Linux, Raspberry Pi (Wheezy)
- Location: Port Huon, Tasmania , Australia
- Contact:
Re: hostname vs IP address
So far:
hostname is correct (plusberry)
/etc/nssconf has the following line:
hosts: dns files
so DNS is being referenced before /etc/hosts
Dynamic DHCP updates DNS and other hosts can ping/dig plusberry.homelan
Even tried putting a line in /etc/hosts:
192.168.1.155 plusberry.homelan plusberry
Still get same error.
Access via IP address is OK
hostname is correct (plusberry)
/etc/nssconf has the following line:
hosts: dns files
so DNS is being referenced before /etc/hosts
Dynamic DHCP updates DNS and other hosts can ping/dig plusberry.homelan
Even tried putting a line in /etc/hosts:
192.168.1.155 plusberry.homelan plusberry
Still get same error.
Access via IP address is OK
- mcrossley
- Posts: 12756
- Joined: Thu 07 Jan 2010 9:44 pm
- Weather Station: Davis VP2/WLL
- Operating System: Bullseye Lite rPi
- Location: Wilmslow, Cheshire, UK
- Contact:
Re: hostname vs IP address
Is 'plusberry' the actual host name of the computer? I can connect using the 'real' host name OK, but 'localhost' does not work.
-
- Posts: 154
- Joined: Thu 11 Mar 2010 11:03 am
- Weather Station: WH1081
- Operating System: Linux, Raspberry Pi (Wheezy)
- Location: Port Huon, Tasmania , Australia
- Contact:
Re: hostname vs IP address
A hostname command returns:mcrossley wrote:Is 'plusberry' the actual host name of the computer? I can connect using the 'real' host name OK, but 'localhost' does not work.
plusberry
I can't use localhost as I'm connecting from another computer, not the Pi that Cumulus is running on.