I have installed apache tomcat on remote ubuntu server.
I have installed and configured it properly(ps -ef | grep tomcat lists the tomcat process).
I have deployed a war file of my app in webapps directory.
I have public ip address of the server and also i know the listening port of tomcat.
When I enter the public_ip_address_of_server:tomcat_listening_port/my_application_name on the address bar of browser in my local windows machine,
I get “could not connect to public_ip_address_of_server:tomcat_listening_port” error
What might be the cause? Your help will be highly appreciated.
NOTE: I have tested tomcat is running properly on server.
Thanks in advance
Thank you everyone for your help.
I was able to resolve the issue.
I know it is weird but it wasn’t any firewall or server issue.
I just installed tomcat manager and uploaded my war file from there and just restarted my tomcat.
It helped my application running
Thank you all once again.