Tomcat nicht mehr starten: java.net.BindException: Cannot assign requested address

wenn ich meine locale Instanz von Tomcat bekomme ich die folgende Fehlermeldung:

    SEVERE: StandardServer.await: create[8005]: 
    java.net.BindException: Cannot assign requested address: 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 org.apache.catalina.core.StandardServer.await(StandardServer.java:373)
    at org.apache.catalina.startup.Catalina.await(Catalina.java:662)
    at org.apache.catalina.startup.Catalina.start(Catalina.java:614)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:585)
    at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:289)
    at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:414)

Habe ich gesehen, dass im Forum Leute die das gleiche problem hatten.
Netstat nicht zeigen, dass die ports 8080, 8005 8009 oder im Einsatz. Ich habe versucht zu ändern-port, aber ich bekomme den gleichen Fehler. Ich habe auch überprüft die hosts-Datei in
Windows\System32\drivers\etc und die Linie

127.0.0.1       localhost

nicht kommentiert. Ich habe nichts verändert in server.xml und seit gestern kann ich es nicht zu funktionieren.
Irgendwelche Ideen?

EDIT:

<Server port="8005" shutdown="SHUTDOWN">

Connectors:
 <Connector port="8080" protocol="HTTP/1.1"
               connectionTimeout="20000" 
               redirectPort="8443" />

<Connector port="8443" protocol="org.apache.coyote.http11.Http11NioProtocol" SSLEnabled="true"
               maxThreads="150" scheme="https" secure="true"
               clientAuth="false" sslProtocol="TLS"
               />

<Connector port="8009" protocol="AJP/1.3" redirectPort="8443" />

Danke für Sie Hilfe

  • Dies ist nicht ein shutdown-problem, es ist ein Startproblem. Wahrscheinlich Tomcat läuft bereits.
  • Bitte posten Sie alle Ihre <Connector> - Elemente UND das start-element <Server> - element.
  • Ich bin mit dem gleichen problem. Hast du es lösen?
  • im moment bin ich nicht mit Tomcat auf meinem lokalen Rechner
InformationsquelleAutor gajo | 2012-05-24
Schreibe einen Kommentar