NetBeans Forums
| View previous topic :: View next topic |
| Author |
Message |
Krischu
Joined: 22 Jun 2010 Posts: 17
|
Posted: Sun Jul 18, 2010 3:25 pm Post subject: Adress already in use (port 1527) |
|
|
| Code: | 2010-07-18 15:20:06.403 GMT : Am Port 1527 auf dem Host localhost war kein Empfang m??glich:
java.net.BindException: Address already in use: JVM_Bind |
When I stop (leave) the Netbeans 6.9 IDE and start it again, then the next server start (application Run) results in an error sayin that port 1527 is already in use.
When I look into Windows (7) task manager I see a java.exe still running (from the previous launch probably). I first have to leave netbeans, kill this java.exe process and then start it again to get clean initial conditions.
Weird somehow.
--
Christoph |
|
| Back to top |
|
 |
Krischu
Joined: 22 Jun 2010 Posts: 17
|
Posted: Thu Jul 22, 2010 1:09 pm Post subject: Re: Adress already in use (port 1527) |
|
|
| Krischu wrote: | | Code: | 2010-07-18 15:20:06.403 GMT : Am Port 1527 auf dem Host localhost war kein Empfang m??glich:
java.net.BindException: Address already in use: JVM_Bind |
When I stop (leave) the Netbeans 6.9 IDE and start it again, then the next server start (application Run) results in an error sayin that port 1527 is already in use.
When I look into Windows (7) task manager I see a java.exe still running (from the previous launch probably). I first have to leave netbeans, kill this java.exe process and then start it again to get clean initial conditions.
Weird somehow.
--
Christoph |
I examined it a bit further. It seems that when terminating Netbeans 6.9 the internal JAVA DB stays in core (a java.exe with a 30K footprint).
When I start NB a javaw.exe and two java.exe are started. One is about 360K and the other that 30K java.exe which, as said, is not terminated, when NB terminates.
Thus with a subsequent start the Java DB finds a process listening to port 1527 already resulting in this error.
IMO, a bug in NB.
--
Christoph |
|
| Back to top |
|
 |
jenniferp
Joined: 28 Jul 2010 Posts: 2
|
Posted: Wed Jul 28, 2010 4:16 am Post subject: |
|
|
| Thanks for sharing with us...I have found that many of the members don't update their posts after they found a solution. Doing what you did benefits us all. Thanks again! |
|
| Back to top |
|
 |
akash
Joined: 16 Jul 2011 Posts: 1
|
Posted: Sat Jul 16, 2011 7:59 am Post subject: error |
|
|
" Could not listen on port 1527 on host localhost:
java.net.SocketException: Permission denied: listen failed " -- this is what happens when i start glassfish in netbeans.. can anyone tell me what this error could be?? i am stuck .. how do i change the port number?? |
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You can attach files in this forum You can download files in this forum
|
|