Skip to main content
edited tags
Link
sachleen
  • 7.6k
  • 5
  • 40
  • 57
Post Migrated Here from electronics.stackexchange.com (revisions)
Source Link
Pat
  • 217
  • 1
  • 5
  • 10

Accessing Arduino Yun from Internet

I am trying to access my Arduino Yun from the internet, and it's not quite working. I have correctly port forwarded the port 5555 from the router to the Yun (verified I am able to access my many other NAT'd resources).

I can access the Yun from my internal network.

In the Arduino sketch I have this (among many other things). Mainly taken from example sketches.

#include <Bridge.h>
#include <HttpClient.h>
#include <YunServer.h>
#include <YunClient.h>

YunServer server;

void setup {
   // Listen for incoming connections on port 5555
   server.noListenOnLocalhost();
   server.begin();
}

Is server.noListenOnLocalhost(); the right one to use to access from the outside world?