Tomcat Boot error: critical: standardserver.await:create[8005] Java.net.BindException:Cannot Assign requested address

Source: Internet
Author: User

Tomcat Start error

org.apache.catalina.core.StandardServer await severe:standardserver.await:create[ 8005 ]: Java.net.BindException:Cannot Assign requested address Java.net.BindException:Cannot Assig N Requested address at Java.net.PlainSocketImpl.socketBind (Native Method) at Java.net.PlainSocketImpl.bind (P LainSoCketimpl.java:365) 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:36W) 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:597) at Org.apache.catalina.startup.Bootstrap.start (Bootstrap.java:289) at Org.apache.catalina.startup.Bootstrap.main (Bootstrap.java:414) Org.apache.coyote.http11.Http11Protocol Pause

1. This problem may occur due to port occupancy

Tomcat does not completely shut down the process still exists and kills the process

Other software occupies the appropriate port Netstat-ano view port end to, or change the default port of Server.xml

2.Cannot Assign requested address is also possible because localhost is routed to another machine.

Ping localhost look at the resolution address does not come or point to another IP, open/etc/hosts found no resolution address specified 127.0.0.1

Add a resolved address to 127.0.0.1 in/etc/hosts

127.0.0.1   localhost

Restart Tomcat

Tomcat boot error: critical: standardserver.await:create[8005] Java.net.BindException:Cannot Assign requested address

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.