Hey Geeks..I've code for Socket Server prog..got error like:BIND EXCEPTION:ADDRESS ALREADY IN USE:JVM_BIND..Help me.. | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

Hey Geeks..I've code for Socket Server prog..got error like:BIND EXCEPTION:ADDRESS ALREADY IN USE:JVM_BIND..Help me..

Error

11th Jul 2017, 1:31 PM
Vignesh R
Vignesh R - avatar
5 Answers
+ 3
Where are you running the code from? Your PC or a server? When I'm testing things from my computer, I use something like this: https://technet.microsoft.com/en-us/sysinternals/bb897437 ^It'll let you see what ports are being used or not, so then you know which ports not to use in your program. Hope that helps.
11th Jul 2017, 2:14 PM
AgentSmith
+ 2
This is going to sound crazy, but it means that the address is already bound and in use, whether by that program or another. Try another port.
11th Jul 2017, 1:46 PM
AgentSmith
+ 2
thank you..
11th Jul 2017, 2:17 PM
Vignesh R
Vignesh R - avatar
+ 2
You're more than welcome bro.
11th Jul 2017, 2:30 PM
AgentSmith
0
I tried but I got the same :-(
11th Jul 2017, 2:02 PM
Vignesh R
Vignesh R - avatar