exception - java.nio.channels.ClosedChannelException -
I am working with Neo (non blocking mode).
When the server stops, and I am getting the following exception: java.nio.channels.ClosedChannelException
.
java .nio.channels.ClosedChannelException
. The server is up, I'm getting the same exception and can not connect to the server.
- I do not understand why the server is getting an exception after the server is started?
- How do I resolve this, (How can I try to reconnect to the server?)
Thanks
socket channel is closed. You have closed it in your code, and then have continued to use it. Or perhaps you can ignore ConnectException
.
Comments
Post a Comment