aspose file tools*
The moose likes Java in General and the fly likes keep getting this exception Address already in use: JVM_Bind Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Java in General
Bookmark "keep getting this exception Address already in use: JVM_Bind" Watch "keep getting this exception Address already in use: JVM_Bind" New topic
Author

keep getting this exception Address already in use: JVM_Bind

naved momin
Ranch Hand

Joined: Jul 03, 2011
Posts: 692

no matter what port no i use i keep gettin this exception which

but till last night port 5000 was working fine

i get this exception as soon as my client receive the message which i m about to send my client




The Only way to learn is ...........do!
Visit my blog http://inaved-momin.blogspot.com/
Maneesh Godbole
Saloon Keeper

Joined: Jul 26, 2007
Posts: 10523
    
    9

naved momin wrote:no matter what port no i use i keep gettin this exception which

Well the exception is pretty self explanatory.
To find the open ports, use netstat -a


[How to ask questions] [Donate a pint, save a life!] [Onff-turn it on!]
naved momin
Ranch Hand

Joined: Jul 03, 2011
Posts: 692

Maneesh Godbole wrote:
naved momin wrote:no matter what port no i use i keep gettin this exception which

Well the exception is pretty self explanatory.
To find the open ports, use netstat -a

i have done that but not any of the ports that i have used in in the netstat -a output
so what should i do now ?
i have tried many different ports like 5000 , 5025 , 8000 etc but i m keep IDE is keep showing me this exception ,
i had even restarted my pc twice to solve this problem but it didnt work
i m saying you that till last night this ports are working fine
but from today i m getting this exception
they exception is not strange its preety simple but logically it is strange for me because this above said ports are free and i can use them for my networking app in java
Maneesh Godbole
Saloon Keeper

Joined: Jul 26, 2007
Posts: 10523
    
    9

Ok. Just saw your code more carefully.
What do you think that while(true) loop doing in your go() method?
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: keep getting this exception Address already in use: JVM_Bind