Hi,
I ran apache tomcat after replacing the port from 8080 to 9090. But still it says the task is not completed.
Hi,
I ran apache tomcat after replacing the port from 8080 to 9090. But still it says the task is not completed.
Check:
I manually tried the commands also updated the port number in the file to 9090.
But it is showing as Task not done.
As seen from the screenshots, you did not follow the step of changing directory by using:
cd /opt/
then you can run the two other commands:
sudo sed -i ‘s/8080/9090/g’ apache-tomcat-8.5.53/conf/server.xml
sudo ./apache-tomcat-8.5.53/bin/startup.sh
Exact same issue. Ran all of the commands, made sure the port number is changed to 9090. But it will confirm that we are correct.
lol
after running the port change command run the command for stopping the server and then start it again i.e, run sudo ./apache-tomcat-8.5.53/bin/shutdown.sh first and then sudo ./apache-tomcat-8.5.53/bin/startup.sh again it’ll fix the issue
This works.
Thank you