"Could not connect to YunServer 146 Connection refused" error message

I am trying to use the Bridge to pass information between two processors. When I enter the following into Google Chrome
http://arduino.local/arduino/analog/2. I get the following error message "Could not connect to YunServer 146 Connection refused"

What needs to be done to enable a browser to get data from Yun?

Howard

http://forum.arduino.cc/index.php?topic=221431.msg1610137#msg1610137

Three Cheers

I followed the advice in the link you provided and commented out the line
server.istenOnLocalhost(); and I can now get an analog reading.

I was using code found on this page.
http://arduino.cc/en/Tutorial/Bridge
This is the section that produces the problem.

void setup() {
Serial.begin(9600);

// Bridge startup
pinMode(13,OUTPUT);
digitalWrite(13, LOW);
Bridge.begin();
digitalWrite(13, HIGH);

// Listen for incoming connection only from localhost
// (no one from the external network could connect)
server.listenOnLocalhost();
server.begin();
}
Commenting out the line "server.listenOnLocalhost();" eliminates the problem.

Thank you for your help
Howard

But if you are trying to access a webpage through the browser and you get the same message? That's what it's been happening to me.

Any idea?

Thanks!!