The 192.168... is an IP only valid behind your router, for someone on the
internet to access your app, you'll need to use your router's Iternet IP
address. Again you can determine that address by typing "What's my IP
address" in google and then select any of the results. From the URL you
stated, I don't see any reference to the context path of your app, tomcat
from what I know isn't going to find an abitrary index.html, you must
specify which app you're trying to access. So you'll type in your browser:
"http:// your ip address: tomcat port/your webapp context path"

On 10/28/06, CANADAFAST INC. <[EMAIL PROTECTED]> wrote:


  hi

  Thanks for ur reply. I actually already new what u just mentioned.

  The problem is I tried 100s of times to run it

  my tomcat is running at 8080 on my pc.

  I enter the ip address like:

  http://routerip:8080/index.html

  Is that the correct way, or do I need to change the ports, some ppl say
it should be port 80, but I don't know how to chnage  to port 80 on tomcat.


  My router has assigned an ip to my PC which is like 192.168.1.2, so when
do I need this local ip.

  I am getting confused.

  I hope u have time to answer my problem, i'd really appreciate.

  Thank u

EDMOND KEMOKAI <[EMAIL PROTECTED]> wrote:
  Firstly you'll need to configure (open some ports) your router to allow
direct access to the tomcat port on your machine. Assuming you know the IP
address of your router ( type in google: "what's my IP address"), user
should be able to connect to your app by typing something like
"http://YourRouter's IP:Tomcat Port/your context path"..That should be
it.

On 10/28/06, CANADAFAST INC. wrote:
>
> Hello!
>
>
> I am a new tomcat 5.5 user. I have created some JSPs and they run
> perfectly in my PC windows xp using tomcat.
>
> I want to make my PC a webserver, so that ppl from outside can access my
> JSPs through tomcat 5.5 running on my system.
>
> My PC is connected to a router and my router is connected to a cable
> modem which has a static ip address from my cable ISP.
>
> But after that I don't know what to do further. How should I configure
> my tomcat, so that ppl from outside can access my JSP website.
>
>
> Thank you
> Khinan
>
>
> ---------------------------------
> Low, Low, Low Rates! Check out Yahoo! Messenger's cheap PC-to-Phone call
> rates.
>



--
* "Still searching for the gatekeeper to the Valence-Band, let me out of
here!"

"talk trash and carry a small stick."
PAUL KRUGMAN (NYT)



---------------------------------
Get your email and see which of your friends are online - Right on
the  new Yahoo.com




--
   * "Still searching for the gatekeeper to the Valence-Band, let me out of
here!"

"talk trash and carry a small stick."
PAUL KRUGMAN (NYT)

Reply via email to