Java.net.BindException:Cannot Assign requested Address

Source: Internet
Author: User

Tomcat error after boot

2017-6-7 17:23:49 org.apache.catalina.core.StandardServer await grave: standardserver.await:create[localhost:8005]: Java. Net. Bindexception:cannot assign requested address        at Java.net.PlainSocketImpl.socketBind (Native Method)         at Java.net.PlainSocketImpl.bind (plainsocketimpl.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:422)         at org.apache.catalina.startup.Catalina.await (catalina.java:707 )         at Org.apache.catalina.startup.Catalina.start (catalina.java:653)         at SUN.REFLECT.NATIVEMETHODACCESSORIMPL.INVOKE0 (Native Method)         at Sun.reflect.NativeMethodAccessorImpl.invoke (nativemethodaccessorimpl.java:39)         at Sun.reflect.DelegatingMethodAccessorImpl.invoke (delegatingmethodaccessorimpl.java:25)     &nbsp   at Java.lang.reflect.Method.invoke (method.java:597)         at Org.apache.catalina.startup.Bootstrap.start (bootstrap.java:303)         at Org.apache.catalina.startup.Bootstrap.main (bootstrap.java:431) 2017-6-7 17:23:49  Org.apache.coyote.AbstractProtocolHandler Pause Info: pausing protocolhandler ["http-bio-8080"]2017-6-7 17:06:51  Org.apache.coyote.AbstractProtocolHandler Pause Info: pausing protocolhandler ["ajp-bio-8009"]2017-6-7 17:23:57  Org.apache.catalina.core.StandardService stopinternal Info: Stopping service catalina2017-6-7 17:23:57  Org.apache.coyote.AbstractProtocolHandler Stop info: stopping Protocolhandler ["http-bio-8080"]2017-6-7 17:23:57  Org.apache.coyote.AbstractProtocolHandler Stop info: stopping Protocolhandler ["ajp-bio-8009"]  The reason is: localhost in the IP address of the corresponding non-native address   Modify the correct restart Tomcat is normal 10.1.170.16 localhost.localdomain localhost

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.