I don't know why occurred this? "java.nio.channels.UnresolvedAddressException"
<p>I made program having a function to send the message to FCM server using Netty.</p>

<p>and I finished the tested in Windows 7.</p>

<p>it works well.</p>

<p>but solaris does not run this.</p>

<p>I got a exception code in solaris. </p>

<pre><code>[ClientHandler.exceptionCaught] Unexpected exception from downstream.java.nio.channels.UnresolvedAddressException
</code></pre>

<p>this exception error is occurred after </p>

<blockquote>
  <p>"[ClientHandler.channelOpen]"</p>
</blockquote>

<p>and then run to </p>

<blockquote>
  <p>"[ClientHandler.channelClosed]"</p>
</blockquote>

<p>so, I did try write message to FCM Server after Immediately "[ClientHandler.channelOpen]".</p>

<p>message sent from FCM Server.</p>

<p>and got a another exception error .</p>

<pre><code>"java.nio.channels.NotYetConnectedException"
</code></pre>

<p>that is knows that an error occurs in the above problem.</p>

<p>I don't know why occurred "UnresolvedAddressException".</p>

<p>I think that this problem occurs because the Solaris firewall.</p>

<p>how to handle this issue?</p>

<p>Add to..
Ping test results</p>

<pre><code>ping 64.233.187.188
64.233.187.188 is alive
</code></pre>

<p>Note - this IP is gained by using the</p>

<pre><code>String ip = "fcm-xmpp.googleapis.com";
int port = 5236;
new InetSocketAddress (ip, port) .getAddress () getHostAddress () 
</code></pre>

<p>in java.</p>