java.net.BindException: Cannot assign requested address at java.net.PlainSocketImpl. socketBind(Native Method)
java.net.BindException: Cannot assign requested address
at java.net.PlainSocketImpl.socketBind(Native Method)
at java.net.ServerSocket.bind(ServerSocket.java:375)
at java.net.ServerSocket.<init>(ServerSocket.java:237)

Step 1. Move to conf directory
        apache-tomcat $ cd conf
Step 2. Open server.xml file which is available in confg folder
       apache-tomcat/conf $ vi server.xml
Step 3. add address=”0.0.0.0″ to <Server port=”7005″ shutdown=”SHUTDOWN”>
      <Server port=”7005″ address=”0.0.0.0″ shutdown=”SHUTDOWN”>
   

     Restart the service

 

Leave a Reply

Your email address will not be published. Required fields are marked *