CaptainNickbeard
Posts: 2
Joined: Tue Nov 24, 2015 7:59 pm

coder.local cant connect on RPi

Tue Nov 24, 2015 8:31 pm

I've been working on my Google Coder project for a few weeks now, connecting to it via the coder.local address on my Windows desktop. However, I want to start accessing it through the RPi itself. But when I hook up a monitor to it, bring up a browser and type in "http://coder.local" it tells me that it cant connect to it. I've tried localhost, 127.0.0.1, and the IP address, but none of them seem to work. I've tried connecting with https, but I get a connection refused message.

Navyscourge
Posts: 258
Joined: Sat Oct 24, 2015 1:50 pm

Re: coder.local cant connect on RPi

Wed Nov 25, 2015 1:03 pm

Are you using the Coder SD card image in your Pi, or something else?

Have you followed the instructions here: https://googlecreativelab.github.io/cod ... g_started/

CaptainNickbeard
Posts: 2
Joined: Tue Nov 24, 2015 7:59 pm

Re: coder.local cant connect on RPi

Wed Nov 25, 2015 1:33 pm

Yep. Everything works perfectly fine when connecting to it through my desktop.

Navyscourge
Posts: 258
Joined: Sat Oct 24, 2015 1:50 pm

Re: coder.local cant connect on RPi

Wed Nov 25, 2015 2:46 pm

The configuration stuff is a bit beyond me, but it appears that it turns the Pi into a 'webserver' that runs on a network created using the Apple Bonjour service, usually used for printers, that "receives network packets on UDP port 5353".

It seems that the service translates the addresses, but a completely local installation (using 127.0.0.1 or localhost) will not be advertised on Bonjour. The protocol doesn't support this (partially assumed from a number of Google searches). I don't know whether the service works using the full network IP address of the Pi

Kertz
Posts: 2
Joined: Sun Jan 10, 2016 12:32 pm
Location: Kortenhoef, NL

Re: coder.local cant connect on RPi

Sat Jan 16, 2016 9:00 pm

Hi, using coder.local in a browser running on the Pi will never work. You need to enter the following URL.

https://your localhost ip address:8081/

You will see some security issues, this is normal, ignore them and continue. You should end up seeing the following URL with the Login screen .

https://127.0.0.1:8081/app/auth/login
Last edited by Kertz on Mon Jan 18, 2016 4:42 am, edited 2 times in total.

User avatar
DougieLawson
Posts: 39121
Joined: Sun Jun 16, 2013 11:19 pm
Location: A small cave in deepest darkest Basingstoke, UK
Contact: Website Twitter

Re: coder.local cant connect on RPi

Sun Jan 17, 2016 11:50 am

Kertz wrote:Hi, using coder.local in a browser running on the Pi will never work. You need to enter the following URL.
It does work if you have something to resolve coder.local to the Pi's IP address. That's done by running avahi-daemon on my RPis.
Note: Any requirement to use a crystal ball or mind reading will result in me ignoring your question.

Criticising any questions is banned on this forum.

Any DMs sent on Twitter will be answered next month.
All non-medical doctors are on my foes list.

Return to “Troubleshooting”