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?
Bridge.begin();andYunClient client = server.accept();is there within theloop. I'm able to access everything internally, just not externally. – Pat Feb 26 '14 at 17:46noListenOnLocalhost()is correct for external hits! – Pat Feb 26 '14 at 17:50noListenOnLocalhost()was correct, and the documentation onnoListenOnLocalhostvslistenOnLocalhostwasn't overly clear (I think they both say the exact same thing). – Pat Feb 26 '14 at 17:54