Dave Pawson a écrit :
Section 3.
Unable to run twice;
Error reported,
java.net.BindException: Address already in use
at java.net.PlainSocketImpl.socketBind(Native Method)
at java.net.PlainSocketImpl.bind(PlainSocketImpl.java:359)
at java.net.ServerSocket.bind(ServerSocket.java:319)
at java.net.ServerSocket.<init>(ServerSocket.java:185)
at java.net.ServerSocket.<init>(ServerSocket.java:97)
at
com.noelios.restlet.ext.simple.HttpServerHelper.start(HttpServerHelper.java:52)
at org.restlet.Server.start(Server.java:313)
at myRestlet.myGet.respondToGet(myGet.java:71)
at myRestlet.myGet.main(myGet.java:82)
Having run the example, how to kill it please?
regards
Dave,
could you precise the context? Do you run the code manually from the
command line or from a development platform such as Eclipse, WSAD, etc?
Best regards,
Therry Boileau