File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Tomcat and the fly likes problem on tomcat 4.1 Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » Tomcat
Bookmark "problem on tomcat 4.1" Watch "problem on tomcat 4.1" New topic

problem on tomcat 4.1

Alex Leung

Joined: Dec 08, 2003
Posts: 26
Hi, I am wondering how can you let other computers to access your server's jsp/servlets in Tomcat. I can acess them through my own computer, but still do not know why other computer cannot access it using web browser.
Thank you.
William Brogden
Author and all-around good cowpoke

Joined: Mar 22, 2000
Posts: 13037
Other computers have to be able to address your machine with a URL. If you are all on the same network you can use the network name of your computer. If you mean Internet access, then you have to have an assigned public IP address. Do you have a permanent Internet connection?
Alex Leung

Joined: Dec 08, 2003
Posts: 26
Yes, I have used the server ip address on the client URL.
This is what I have done:
- I installed tomcat 4.1 and have broadband internet connection (permanent) on the server computer.
- my server ip is fixed to and I can access my tomcat servlets with server's internet explorer:
- everything is completely fine, but only to the server.
- recently I used another computer (client) to access the tomcat of the server, by using the exact url as above. (of course with xxx.x change back to the real digits) But it always show: the page cannot be displayed.
- I have tried switching the firewall off from the server, but do not work, I ping client from server and received 100%, but pinging server from client will result 100% loss, and I do not know why.
It is like the server do not really exist to another computer. So the main point is, only work on the server itself but not to any other computer.
Do you know why? Thank you.
I agree. Here's the link:
subject: problem on tomcat 4.1
It's not a secret anymore!