<div dir="ltr"><div>From where to where?<br><br></div>If you are running something in your device/emulator pointing to the localhost, It&#39;s trying to access (whatever you are trying to connect) IN your device.<br><div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Nov 17, 2016 at 2:48 PM, falconea <span dir="ltr">&lt;<a href="mailto:antonio.falcone@cg.tasgroup.it" target="_blank">antonio.falcone@cg.tasgroup.it</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">I&#39;m getting this error on device:<br>
<br>
ConnectException: failed to connect to localhost/<a href="http://127.0.0.1" rel="noreferrer" target="_blank">127.0.0.1</a> (port 8080) after<br>
30000ms: isConnected failed:ECONNREFUSED (Connection refused).<br>
Do you know why I can&#39;t connect to localhost?<br>
<br>
<br>
<br>
--<br>
View this message in context: <a href="http://aerogear-users.1116366.n5.nabble.com/No-device-registered-cordova-push-tp955p960.html" rel="noreferrer" target="_blank">http://aerogear-users.1116366.<wbr>n5.nabble.com/No-device-<wbr>registered-cordova-push-<wbr>tp955p960.html</a><br>
<div class="HOEnZb"><div class="h5">Sent from the aerogear-users mailing list archive at Nabble.com.<br>
______________________________<wbr>_________________<br>
Aerogear-users mailing list<br>
<a href="mailto:Aerogear-users@lists.jboss.org">Aerogear-users@lists.jboss.org</a><br>
<a href="https://lists.jboss.org/mailman/listinfo/aerogear-users" rel="noreferrer" target="_blank">https://lists.jboss.org/<wbr>mailman/listinfo/aerogear-<wbr>users</a><br>
</div></div></blockquote></div><br><br clear="all"><br>-- <br><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr">-- Passos<br></div></div>
</div></div></div>