It's all about the answers!

Ask a question

Why do I get java.net.BindException: Cannot assign requested Addres: JVM_Bind when starting the server?


Manuel Felipe Amaya (1321327) | asked Oct 06 '15, 7:24 p.m.
edited Oct 06 '15, 7:25 p.m.
Hi,

I unistalled a CLM 5.0.2 from my computer and then proceded to install a CLM 6.0.
When starting the server, the following message appears:

Severe: StandardServer.await: create[localhost:9005]:Throwable occurred: java.net.BindException: Cannot assign requested Addres: JVM_Bind
at java.net.PlainSocketImpl.socket.Bind<PlainSocketImpl.java:587>...

Please Help.





2 answers



permanent link
Marek Siekierski (817510) | answered Oct 06 '15, 7:49 p.m.
Hi Manuel,

The bind exception indicates that Tomcat cannot use that port, as some other process is already listening on that port.

Open Task manager and ensure there are no already running java processes. If you check the properties for one that does exist, you may be able to see that it is an already running instance of the server. You can kill this.

Open command prompt and run: netstat /a

to verify that nothing is listening at the specified port. Hope this helps.

permanent link
Manuel Felipe Amaya (1321327) | answered Oct 07 '15, 11:10 a.m.
Found the problem.

The hosts file was modified so the server could not find the port.

Thank you

Your answer


Register or to post your answer.


Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.