File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Tomcat and the fly likes accessing tomcat default page Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » Tomcat
Bookmark "accessing tomcat default page" Watch "accessing tomcat default page" New topic
Author

accessing tomcat default page

siddharth das
Ranch Hand

Joined: Aug 17, 2007
Posts: 124
Hi,

I installed tomcat in my system. I start tomcat server and can access the tomcat site by using http://localhost:8080/

I tried to access this site from another system by using http://ipaddress:8080/.

But it is showing Time out Error.

Can you please tell me Why I am unable to access this site.

Thanks,
Sidharth
Rob Spoor
Sheriff

Joined: Oct 27, 2005
Posts: 19692
    
  20

Can you ping that machine? Because I don't think that Tomcat is causing the problems but something else in the network.


SCJP 1.4 - SCJP 6 - SCWCD 5 - OCEEJBD 6
How To Ask Questions How To Answer Questions
siddharth das
Ranch Hand

Joined: Aug 17, 2007
Posts: 124
When I pinged that machine,it is showing

Request timed out.
Request timed out.
Request timed out.
Request timed out.

Is there any Firewall that prevents the access..

Thanks,
Sidharth
Rob Spoor
Sheriff

Joined: Oct 27, 2005
Posts: 19692
    
  20

Possibly a firewall, possibly something else. I'd check with my network administrator if you have one.
siddharth das
Ranch Hand

Joined: Aug 17, 2007
Posts: 124
the ip adress is <removed>
Rob Spoor
Sheriff

Joined: Oct 27, 2005
Posts: 19692
    
  20

I wouldn't post IP addresses of your own machines, email addresses or login details on any publicly available website. It can attract the wrong attention, like that of a spammer / hacker. In this case it doesn't even tell us a single thing because 172.x.x.x addresses are for internal networks only, and cannot be accessed over the Internet directly.

Am I right in guessing that the 172.x.x.x address is the internal IP address of the machine, and you want to connect to it from somewhere outside the same network (so through the Internet)? If so that won't work without a proper port forwarding rule in the firewall / router that sits in front of the machine. You should then use the public address to connect to it. The firewall / router will accept these connections and forward them to the 172.x.x.x machine. Check your firewall / router manual for how to do this.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: accessing tomcat default page