[英]how to find web address of a tomcat web app?
I am trying to debug why a url that used to work before is giving page not found error. 我正在尝试调试为什么以前可以工作的网址给页面未找到错误。 So, i have access to a ubuntu linux machine where this app resides.
因此,我可以访问该应用程序所在的ubuntu linux计算机。 When i list the running services i can see that tomcat server is running.
当我列出正在运行的服务时,我可以看到tomcat服务器正在运行。 I have also tried restarting the server to make sure the problem is not in the app.
我也尝试过重新启动服务器,以确保问题不在应用程序中。 I am wondering how can i find the web address to this web app?
我想知道如何找到该Web应用程序的网址? I know how to find global ip address of this machine but i need to know the full path so that i can access this webapp.
我知道如何找到这台机器的全局IP地址,但是我需要知道完整的路径,以便我可以访问此webapp。 I appreciate any help!
感谢您的帮助! Thanks!
谢谢!
The URLs in a Grails application are mapped to controllers or views via the UrlMappings.groovy file. Grails应用程序中的URL通过UrlMappings.groovy文件映射到控制器或视图。 In a Grails 2.x version the file is located under the conf directory and in a Grails 3.x it is under the init directory (in the lastest version 3.2.2 it is a package under the init directory).
在Grails 2.x版本中,该文件位于conf目录下,而在Grails 3.x版本中,该文件位于init目录下(在最新版本3.2.2中,它是init目录下的一个包)。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.