and if we connect to, eg. http://localhost/start (not listening on port 80),
21:56:42.778 [I/O-LOOP] ERROR org.deftserver.io.IOLoop - Exception received in IOLoop: {}
java.net.ConnectException: Connection refused
at sun.nio.ch.SocketChannelImpl.checkConnect(Native Method) ~[na:1.6.0_22]
at sun.nio.ch.SocketChannelImpl.finishConnect(SocketChannelImpl.java:574) ~[na:1.6.0_22]
at org.deftserver.io.AsynchronousSocket.handleConnect(AsynchronousSocket.java:95) ~[classes/:na]
at org.deftserver.io.IOLoop.start(IOLoop.java:79) ~[classes/:na]
at org.deftserver.example.AsynchronousHttpClientExample.main(AsynchronousHttpClientExample.java:15) [classes/:na]
fetch(..) throws (connects to unexisting hostname (eg, http://tasdft.se/start/))
and if we connect to, eg. http://localhost/start (not listening on port 80), 21:56:42.778 [I/O-LOOP] ERROR org.deftserver.io.IOLoop - Exception received in IOLoop: {} java.net.ConnectException: Connection refused at sun.nio.ch.SocketChannelImpl.checkConnect(Native Method) ~[na:1.6.0_22] at sun.nio.ch.SocketChannelImpl.finishConnect(SocketChannelImpl.java:574) ~[na:1.6.0_22] at org.deftserver.io.AsynchronousSocket.handleConnect(AsynchronousSocket.java:95) ~[classes/:na] at org.deftserver.io.IOLoop.start(IOLoop.java:79) ~[classes/:na] at org.deftserver.example.AsynchronousHttpClientExample.main(AsynchronousHttpClientExample.java:15) [classes/:na]
is thrown