I have a windows VPS and installed tomcat with an application on its root folder.
From the VPS itself, If I access the application using localhost:8080 it gets displayed in the browser properly. But if I put the ip address like 74.xxx.xxx.xxx:8080, browser throws connection timeout error.
From my local machine as well, it displays the same error. Interestingly if I ping the ip address from my local machine, it replies.
What could be the error? Do I need to configure the ip somewhere on the VPS so that it points to the tomcat root application (localhost:8080)?
Thanks in advance