just trying to do an initial install on raspberry pu b+, have been following the guide "Installation emoncms V8 on Ubuntu/Debian Linus" and when i have tried to connect to http:/localhost/emoncms i get no responce.. any help with this would be great..
Dylan
Re: problem with connecting to localhost/emoncms
My router does not resolve "localhost" correctly, so I have to use the Pi's IP address. In my case it's:
192.168.1.125/emoncms
JD
Re: problem with connecting to localhost/emoncms
I have a similar issue:
I if I use http://emoncms.org and it's relative api i can acces to my input without problem, but if i try with my local emoncms and it's relative api it dosen't find any input.
I tried both with localhost and my raspi ip but it dosen't work.
I'm probably not aware of some other configuration to modify.
Re: problem with connecting to localhost/emoncms
This is a matter for DNS. If you don't have a name server that can translate "localhost" into the dotted IP address "192.168.1.125", then you won't find it, because "localhost" is only known within that one machine. It is unknown even on your local network.
So to confuse you even further, your Pi knows itself as "localhost", your laptop (if you run Lamp/Wamp/Mamp) also knows itself as "localhost", but those two localhosts are different servers on different machines!, and neither knows about the other.
If you use "emoncms.org", every DNS on the web knows the dotted IP address for that so there isn't a problem.
You need to check your router configuration and find the dotted IP address from that - and preferably make it fixed (static) so that it does not change when you restart your router.
Re: problem with connecting to localhost/emoncms
Thanks,
:-) I kinda got even more confused.
I have my current raspberry IP and i tried to put it the emonhub.conf file
URL = 192.168.3.34/emoncms (as someone suggest in another post, i don't remember the link) Is this right? the ip is right, is the one I use to access my raspberry with Putty.Is the URL correct ? or I should add something different, if not at all, after the IP address?
apikey = the one I got from my local emoncms
But once I log in I can't see any input neither the raspberry tab that in the guide says it should appear in the top left corner.
Re: problem with connecting to localhost/emoncms
I haven't got a working RPi so I'm afraid somebody else will need to help you.
Re: problem with connecting to localhost/emoncms
Thanks anyway :-)
Re: problem with connecting to localhost/emoncms
The url should start with "http" try setting
if still no joy set the loglevel to "DEBUG" in emonhub.conf and check the log to see what's happening.
Paul
Re: problem with connecting to localhost/emoncms
Thanks a lot!
I was missing the "http://" part! I thought it was needed only to connect with emoncms.org.
Now it's working!
I'll probably come back with some more "stupid" question! :-)