You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by S <ns...@yahoo.com> on 2007/03/25 05:43:04 UTC

A newbie question

Hi,

I am very new to Tomcat, and something I don't understand why is not working.
After I installed Tomcat, I can access a webpage locally at this address: http://localhost:8080/
I configured my reouter for NAT and I have port 8080 forwarded to my desktop in my LAN and when I
access http://<my router WAN IP>:8080, it should come up the same webpage from before. It doesn't
work. I also tried to access the webpage from my laptop, accessing the internal LAN IP of my
desktop but doesn't work (like http://192.168.10.100:8080)
I had another webserver, a mambo stand-alone-server (MSAS) with wich I tried the same thing, I
accessed http://<my router WAN IP> and my webpage came up. So I thinkg something is wrong with my
Tomcat settings. What am I missing? And which file contains the server port settings (to change
from port 8080 to 80)?

Thanks,
Steven


 
____________________________________________________________________________________
TV dinner still cooling? 
Check out "Tonight's Picks" on Yahoo! TV.
http://tv.yahoo.com/

---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Re: Re: A newbie question

Posted by Steven <ns...@yahoo.com>.
Thank you for your answer.
I found the setting in the "server.xml" file and I can see the webpage coming up, when I type
http://localhost/ on the same machine. But the page is still not showing when I check from my
other computer from the LAN (I type http://192.168.10.100) It says: "The page cannot be displayed"
I tried also the outside address from the router and doesn't load.
The router is forwarded correct, because when I run a different web server, I can access the
webpage from the outside WAN IP address, or even with the local LAN address
(http://192.168.10.100)

What else can be the problem?
Steven

--- Filip Hanik - Dev Lists <de...@hanik.com> wrote:

> Most likely your router is blocking port 8080, or not forwarding it.
> to change tomcat to run on port 80
> 
> TOMCAT_HOME/conf/server.xml, just search for 8080
> 
> Filip
> 
> S wrote:
> > Hi,
> >
> > I am very new to Tomcat, and something I don't understand why is not working.
> > After I installed Tomcat, I can access a webpage locally at this address:
> http://localhost:8080/
> > I configured my reouter for NAT and I have port 8080 forwarded to my desktop in my LAN and
> when I
> > access http://<my router WAN IP>:8080, it should come up the same webpage from before. It
> doesn't
> > work. I also tried to access the webpage from my laptop, accessing the internal LAN IP of my
> > desktop but doesn't work (like http://192.168.10.100:8080)
> > I had another webserver, a mambo stand-alone-server (MSAS) with wich I tried the same thing, I
> > accessed http://<my router WAN IP> and my webpage came up. So I thinkg something is wrong with
> my
> > Tomcat settings. What am I missing? And which file contains the server port settings (to
> change
> > from port 8080 to 80)?
> >
> > Thanks,
> > Steven
> >
> >
> >  
> > ____________________________________________________________________________________
> > TV dinner still cooling? 
> > Check out "Tonight's Picks" on Yahoo! TV.
> > http://tv.yahoo.com/
> >
> > ---------------------------------------------------------------------
> > To start a new topic, e-mail: users@tomcat.apache.org
> > To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> > For additional commands, e-mail: users-help@tomcat.apache.org
> >
> >
> >
> >   
> 
> 
> ---------------------------------------------------------------------
> To start a new topic, e-mail: users@tomcat.apache.org
> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
> 
> 



 
____________________________________________________________________________________
No need to miss a message. Get email on-the-go 
with Yahoo! Mail for Mobile. Get started.
http://mobile.yahoo.com/mail 

---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Re: A newbie question

Posted by Filip Hanik - Dev Lists <de...@hanik.com>.
Most likely your router is blocking port 8080, or not forwarding it.
to change tomcat to run on port 80

TOMCAT_HOME/conf/server.xml, just search for 8080

Filip

S wrote:
> Hi,
>
> I am very new to Tomcat, and something I don't understand why is not working.
> After I installed Tomcat, I can access a webpage locally at this address: http://localhost:8080/
> I configured my reouter for NAT and I have port 8080 forwarded to my desktop in my LAN and when I
> access http://<my router WAN IP>:8080, it should come up the same webpage from before. It doesn't
> work. I also tried to access the webpage from my laptop, accessing the internal LAN IP of my
> desktop but doesn't work (like http://192.168.10.100:8080)
> I had another webserver, a mambo stand-alone-server (MSAS) with wich I tried the same thing, I
> accessed http://<my router WAN IP> and my webpage came up. So I thinkg something is wrong with my
> Tomcat settings. What am I missing? And which file contains the server port settings (to change
> from port 8080 to 80)?
>
> Thanks,
> Steven
>
>
>  
> ____________________________________________________________________________________
> TV dinner still cooling? 
> Check out "Tonight's Picks" on Yahoo! TV.
> http://tv.yahoo.com/
>
> ---------------------------------------------------------------------
> To start a new topic, e-mail: users@tomcat.apache.org
> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
>
>
>
>   


---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org