Re: Port in address to tomcat webpage?

2007-11-20 Thread GF
when you go on normal websites, you are using port 80.
look for 8080 in  your server.xml and change it to 80

bye

On Nov 20, 2007 3:14 PM, jdpl [EMAIL PROTECTED] wrote:

 Hi,

 how come when I'm accessing a page on my local apache, i always have to put
 in the port number, e.g:

 http://localhost:8080/somepage

 but when i'm accessing a remote website, i never put in the port number. Is
 there anyway I can configure my tomcat to not use the port number?

 thanks,
 J
 --
 View this message in context: 
 http://www.nabble.com/Port-in-address-to-tomcat-webpage--tf4843728.html#a13857675
 Sent from the Tomcat - User mailing list archive at Nabble.com.


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



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



Re: Port in address to tomcat webpage?

2007-11-20 Thread David Smith
When you don't give your browser get a port number, it assumes port 80 
which is the registered, well known port for web traffic as defined by 
the IANA.  Production websites all listen on port 80 which is why you 
never have to put it in your URLs to Google for example.  The entire 
list of these well known, registered ports is available at 
http://www.iana.org/assignments/port-numbers


The default port as found in the server.xml file of a fresh downloaded 
tomcat is 8080 to avoid possible conflicts with a production web server 
if one happens to be on the same box.  There's also a legacy restriction 
in unix/linux distribution that only the root user can use ports less 
than 1024.  These days there are ways to get around that with port 
mapping or the commons-daemon project (http://commons.apache.org/daemon). 

On a Windows system with no other web server software, you should be 
able to just change the port number from 8080 to 80 in your server.xml 
and restart the service.  Then you can hit your tomcat w/o the port number.


--David

jdpl wrote:

Hi,

how come when I'm accessing a page on my local apache, i always have to put
in the port number, e.g:

http://localhost:8080/somepage

but when i'm accessing a remote website, i never put in the port number. Is
there anyway I can configure my tomcat to not use the port number?

thanks,
J
  



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