The Author Online Book Forums are Moving

The Author Online Book Forums will soon redirect to Manning's liveBook and liveVideo. All book forum content will migrate to liveBook's discussion forum and all video forum content will migrate to liveVideo. Log in to liveBook or liveVideo with your Manning credentials to join the discussion!

Thank you for your engagement in the AoF over the years! We look forward to offering you a more enhanced forum experience.

amjad2777 (1) [Avatar] Offline
#1
Hallo ,
when I compile the server in chapter 5 (online code ) in Instant messaging in Java: the Jabber protocols By Iain Shigeoka.........I get this error .

java.net.BindException: Address already in use: JVM_Bind
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.metamech.vorpal.Server.<init>(Server.java:27)
at com.metamech.vorpal.Server.main(Server.java:65)


I run the code in chapter 4 and every thing is ok......
Can you help me .......
Amjad