Accessing Tomcat From Intranet
How I can access tomcat from other computers on intranet
I havev tried http://comname:8080/appname/
And I have also check the firewall setting
By intranet I’m assuming you mean your local network and not the Internet.
What you’re trying is the right way of doing this and you’ve taken the right step with the firewall as well – however, with the URL you’ve given, it is required that ‘comname’ be properly resolved to the IP address of the computer. I’ve had problems on my network with Ubuntu machines while Windows machines usually work fine.
I would suggest that you try the IP address of the machine first, and then the name. If the OS where Tomcat is hosted is Windows, you can find the IP address by going to the command prompt and typing in ipconfig. For *nix machines, try ifconfig.
Of course, it goes without saying that you should first try to access the Tomcat instance locally (i.e. going to localhost:8080 and checking that it’s up and running) – if that doesn’t work, no amount of network troubleshooting is going to help!
try http://<IP of the MACHINE where tomcat is installed>:Port number/appname/
Accessing by IP name is the best way to access the machine but you can also use the machine alias
http://<name-of-the-machine>:default port/appcontext/
Example:
http://iitminds:8080/testapp/