user306: 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?

user291: Well, I'm not familiar with the Yun, but the first thing that stands out is the missing
Bridge.begin();

line apparently needed to initialize the Bridge library that you use.
And you do have something like
YunClient client = server.accept();

and "more" in the main loop (or a function where applicable) of your code, right ?
And yes, noListenOnLocalhost() is the correct function for serving external clients.

306: <p>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). </p>

<p>I can access the Yun from my internal network. </p>

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

<pre><code>#include &lt;Bridge.h&gt;
#include &lt;HttpClient.h&gt;
#include &lt;YunServer.h&gt;
#include &lt;YunClient.h&gt;

YunServer server;

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

<p>Is <code>server.noListenOnLocalhost();</code> the right one to use to access from the outside world?</p>
 291: <p>Well, I'm not familiar with the Yun, but the first thing that stands out is the missing</p>

<pre><code>Bridge.begin();
</code></pre>

<p>line apparently needed to initialize the Bridge library that you use.</p>

<p>And you do have something like</p>

<pre><code>YunClient client = server.accept();
</code></pre>

<p>and "more" in the main loop (or a function where applicable) of your code, right ?</p>

<p>And yes, <code>noListenOnLocalhost()</code> is the correct function for serving external clients.</p>
