Wrox Programmer Forums
Go Back   Wrox Programmer Forums > Java > Java Open Source > Apache Tomcat
|
Apache Tomcat General discussion of the Apache Tomcat servlet container. For discussions specific to the Professional Apache Tomcat book, please see the book discussion forum for that book.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Apache Tomcat section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old April 19th, 2006, 07:34 AM
Registered User
 
Join Date: Apr 2006
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
Default set Apache Tomcat 5.0 webserver visible in network

I developed several web pages in JSP. I can see them in http://localhost:8080/... I want to see them from another computer too.

How can I set my Apache Tomcat 5.0 webserver so that to see my web pages in network, not only locally on my computer?

 
Old April 21st, 2006, 04:47 AM
Authorized User
 
Join Date: Mar 2006
Posts: 40
Thanks: 0
Thanked 0 Times in 0 Posts
Default

If u want to access them from other's computer, u have to specify IP_Address/System_Name instead of localhost.


 
Old April 21st, 2006, 05:04 AM
Registered User
 
Join Date: Apr 2006
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
Default

I tried that but don't work

I read on tutorials and a noticed that Tomcat is only container for JSP/servlet/html and Apache is web server which can be set like home web server, and can be visible on net by mean of IP. Tomcat and Apache can be connected with JK2 connector. In fact, my mistake was that I considered that Apache Tomcat 5.0 is Apacha+Tomcat. But isn't. It is Tomcat only.

 
Old May 18th, 2006, 11:53 AM
Authorized User
 
Join Date: Apr 2005
Posts: 71
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Hello,

Tomcat can act as web server too, though not comparable with Apache. You should be able to access the pages using the following link:

http://your_ip:port/

In case you are unable to do so check if something is blocking that port on the network. If you have any error that comes up, let us know. Also, check if you are able to ping your IP address from the machine where you are trying to access the page. Let us know the results.

Regards,
eNJay
 
Old July 12th, 2006, 08:13 AM
Registered User
 
Join Date: Apr 2006
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
Default

I discovered why don't work my Tomcat from network. Didn't work because of Windows Firewall. My Tomcat is visible after I record it in Windows Firewall permissions.






Similar Threads
Thread Thread Starter Forum Replies Last Post
How to code to set 'Visible' a field value cJeffreywang ASP.NET 2.0 Basics 1 February 28th, 2008 11:51 PM
how to use struts with apache tomcat vivekkumar_23 Struts 2 February 16th, 2007 05:22 PM
Apache Tomcat [email protected] Apache Tomcat 3 April 19th, 2006 07:24 AM
JWS Axis Tomcat (posted to Apache Tomcat too) rushman Servlets 0 April 15th, 2005 09:32 AM
set rpttext box visible false myth12345 VB How-To 0 March 4th, 2005 11:08 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.