<div dir="ltr"><div>So, if you wanna your device connect in a instance running in your machine you need to point to your machine ip and not for localhost <br><br></div>PS: Of course both need to be in the same network<br></div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Nov 17, 2016 at 3:06 PM, falconea <span dir="ltr"><<a href="mailto:antonio.falcone@cg.tasgroup.it" target="_blank">antonio.falcone@cg.tasgroup.it</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">I have UnifiedPush running in localhost on my machine. So I'm trying to<br>
register a physical device to get notifications working.<br>
<br>
How do i set up in order to connect to UnifiedPush (JBoss server) and<br>
comunicate with GCM? Is this scenario possible?<br>
<br>
<br>
Daniel Passos wrote<br>
<span class="">>>From where to where?<br>
><br>
> If you are running something in your device/emulator pointing to the<br>
> localhost, It's trying to access (whatever you are trying to connect) IN<br>
> your device.<br>
><br>
</span>> On Thu, Nov 17, 2016 at 2:48 PM, falconea &lt;<br>
<br>
> antonio.falcone@.tasgroup<br>
<br>
> &gt;<br>
<span class="">> wrote:<br>
><br>
>> I'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)<br>
>> after<br>
>> 30000ms: isConnected failed:ECONNREFUSED (Connection refused).<br>
>> Do you know why I can't connect to localhost?<br>
>><br>
>><br>
>><br>
>> --<br>
>> View this message in context: <a href="http://aerogear-users.1116366" rel="noreferrer" target="_blank">http://aerogear-users.1116366</a>.<br>
>> <a href="http://n5.nabble.com/No-device-registered-cordova-push-tp955p960.html" rel="noreferrer" target="_blank">n5.nabble.com/No-device-<wbr>registered-cordova-push-<wbr>tp955p960.html</a><br>
>> Sent from the aerogear-users mailing list archive at Nabble.com.<br>
>> ______________________________<wbr>_________________<br>
>> Aerogear-users mailing list<br>
>><br>
<br>
</span>> Aerogear-users@.jboss<br>
<span class=""><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>
>><br>
><br>
><br>
><br>
> --<br>
> -- Passos<br>
><br>
</span>> ______________________________<wbr>_________________<br>
> Aerogear-users mailing list<br>
<br>
> Aerogear-users@.jboss<br>
<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>
<br>
<br>
<br>
<br>
<br>
--<br>
View this message in context: <a href="http://aerogear-users.1116366.n5.nabble.com/No-device-registered-cordova-push-tp955p962.html" rel="noreferrer" target="_blank">http://aerogear-users.1116366.<wbr>n5.nabble.com/No-device-<wbr>registered-cordova-push-<wbr>tp955p962.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>