I’m developing a Grails application to a school work. Typically, this is the URL for any server running on a local machine:
http://localhost:8080/ProjectName
After I run tomcat server with my Grails project, I go to that location and I can acess the website. But, as far as I know, everyone in my LAN should be able to load the website from same URL (http://localhost:8080/ProjectName). As I have two computers on same lan via router, I tried to acess my website and it doesnt seems to be working. How can access the application from another computer? If possible, suggest a website that I can read and learn stuff about this matter, cause my lack of knowledge about servers is so dramatic.
You need to use your machine’s hostname or IP to access it from another machine.
You can get this information from a command prompt:
Windows
Linux (usually)
You can use either of those to get to it from another machine, e.g.
or