Problem with Arduino Yún Bridge example

I'm trying to run the example:-

I have loaded the sketch (Arduino Yun) and get an error when trying to send REST code:-
http://longmeadow.local/arduino/digital/13/1
The result is:-
Could not connect to YunServer 146 Connection refused.

The project notes say "When the REST password is turned off". Perhaps that's the cause of the failure to connect.

Can anyone tell me if I need to turn off the REST password and how to do it?

You might need to do that but that is not your problem at the moment. As the client cannot connect to the Yun there are several possible causes:

  • sketch did not start correctly on the Yun
  • your client isn't on the same network as the Yun
  • a firewall is intercepting the connection
  • anything on the Yun is configured differently from default

What client did you use?
Did you change the Linux part of the Yun?
Is your client on the same network as the Yun?

Thanks for the response.
Have been fiddling with the Yun I ran the YunFirstConfig example to kind of reset things and now its working just fine.

I also changed the name of the yun from LongMeadow to longmeadow, now:

longmeadow.local/arduino/digital/13/1

gives:

Pin D13 set to 1

Thanks again

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.