Task 4 of WEB SERVER, LABS – APACHE TOMCAR

when running curl localhost:8081 it is showing curl: (7) Failed to connect to ::1: Cannot assign requested address

Run: sudo /opt/apache-tomcat-8/bin/startup.sh and run curl localhost:8081; ps -ef | grep tomcat to see tomcat page content and process.

Hello,

With the new version of apache tomcat, I have few problems. One I succeded to resolve by myself but the other one nope.

What am I doing wrong ?
Regards
Julien

Hi Julien,
Please check this link:
Tomcat won’t start: java.net.BindException: Cannot assign requested address - Stack Overflow

thanks

Hi @sofa.kreutz ,
It seems like you have downloaded the source code file.
Please download the correct file from the bin folder.
Adding a reference link to download the correct archive file: -
https://downloads.apache.org/tomcat/tomcat-8/v8.5.78/bin/

Regards,
KodeKloud Support