OK.  There have been suggestions that you get a static ip address.  If
your internet service provider will assign you a static ip address, that
will solve your problem if you are trying to access the tomcat service
using a domain name.

However if your internet service provider is unwilling to provide a static
IP address, which is the case for most providers, you still can access the
tomcat service from the internet.  What you can do is define a dynamic dns
service at a provider such as dyndns.org.  You can set up a dynamic dns
service where the ip address is updated from a program you install on your
local windows machine using one of their domains.  You have several
choices of such programs available on the dyndns.org site.  The program
you install on your local windows machine detects when the IP address of
your local machine changes.  The program then sends the new IP address to
the dyndns.org service and the ip address of the dynamic dns service you
set up with them is automatically updated.  This service is free for a
limited number of machines.

You could also buy a domain name from a domain name service provider. 
Dyndns.org does sell domain names also.  You can then define a dynamic dns
service with dyndns.org just the same as described above using your
domain.  I believe dyndns.org will charge you an annual fee for using your
own domain name.

Let me know if this helps.

As a side issue you can access the tomcat service on your local windows
machine from another computer on the internet in a test situation with out
establishing a dynamic dns account. You can do this by entering a record
in the hosts file of the computer from which you wish to access the tomcat
service.  I expect you to find the host file at:
c:/windows/system32/drivers/etc/host or
c:/winnt/system32/drivers/etc/host.

Enter a line in the form:
<domainname> <ipaddress>

Supply your domain name for the host account defined in tomcat
configuration for <domainname>.  Do not include the < or the > characters.
 Localhost will not work.  If you have not defined a host other than
localhost in tomcat configuration, you will have to define another host
account.  Supply the ip address assigned to your machine where tomcat is
running for <ipaddress>.  Do not include the < or the > characters.  Here
is an example how the line should look:

jimstudebaker.org 65.254.62.178

Then save the host file.  Open the IE and type in the url
http://domainname:8080/.  This assumes your tomcat port is the default
8080.  This obviously not a general permanent solution, since the internet
dns servers do not have a record for the entry you put in the host file. 
It is a quick and easy way to test access to the service from another
machine on the internet however.

Good luck.

Let me know if this was of help.

> The machine is connected to internet thro' broadband
> connection.
>
> --- [EMAIL PROTECTED] wrote:
>> An answer to this question would require a little
>> more information.
>>
>> When you say "My computer is in network" is the
>> network you are refering
>> to a local area network or is the window machine
>> connected directly to the
>> internet through a broadband connection or a dial up
>> connection?
>>
>> Send a response to this question and then I can go
>> on to the next question.
>>
>> > -----Original Message-----
>> > From: U K Laxmi [mailto:[EMAIL PROTECTED]
>> > Sent: Tuesday, March 08, 2005 11:13 AM
>> > To: Tomcat Users List
>> > Subject: How to access web site from other
>> computers
>> >
>> >
>> > I've a web application developed using apache and
>> > tomcat on windows 2000 machine. I can access the
>> > application locally. ie. using
>> http://localhost/web/JSP/login.html and
>> > also using machine name ie.
>> http://dummy/web/JSP/login.html. My computer
>> > is in network. But i'm unable access my web
>> application from other
>> > computers. What should i do to make my web
>> application available on
>> > other machines as well? Any other s/w i need? Pls
>> suggest.
>> >
>> >
>> >
>> >
>> > __________________________________
>> > Celebrate Yahoo!'s 10th Birthday!
>> > Yahoo! Netrospective: 100 Moments of the Web
>> > http://birthday.yahoo.com/netrospective/
>> >
>> >
>>
> ---------------------------------------------------------------------
>> > To unsubscribe, e-mail:
>> [EMAIL PROTECTED]
>> > For additional commands, e-mail:
>> [EMAIL PROTECTED]
>> >
>> >
>> >
>>
> ---------------------------------------------------------------------
>> > To unsubscribe, e-mail:
>> [EMAIL PROTECTED]
>> > For additional commands, e-mail:
>> [EMAIL PROTECTED]
>> >
>> >
>>
>>
>>
> ---------------------------------------------------------------------
>> To unsubscribe, e-mail:
>> [EMAIL PROTECTED]
>> For additional commands, e-mail:
>> [EMAIL PROTECTED]
>>
>>
>
>
>
>
> __________________________________
> Celebrate Yahoo!'s 10th Birthday!
> Yahoo! Netrospective: 100 Moments of the Web
> http://birthday.yahoo.com/netrospective/
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to