l****n 发帖数: 5 | 1 hi,
the latest tomcat 4.0.3 also make the default port at 8080,
i have to type,for example,http://localhost:8080, in order
to access my file there.
of course, we wish to make it simple as just http://localhost, no
need to type 8080.
the default port should be 80. but after i change
it in the server.xml file, restart tomcat,there is
error in tomcat said something like jvm in use .blahblah,
i searched the document in the web, it's said i only
could set the port great than 1024 which isn't used yet | k*****y 发帖数: 221 | 2 Are you sure the port 80 is not occupied ? | l****n 发帖数: 5 | 3 i'm also thinking that maybe 80 is occupied already,
but how?? in the server.xml, i searched 80,
nothing found. i only run a server-u server, the port
is not 80...i didn't run IIS, or else...
any suggestion? thanks
【在 k*****y 的大作中提到】 : Are you sure the port 80 is not occupied ?
| s******r 发帖数: 21 | 4 在server.xml中默认的HTTP端口是8080,查找8080改成80,就可以了。但是Tomcat并不建
议你用tomcat做web server。
【在 l****n 的大作中提到】 : i'm also thinking that maybe 80 is occupied already, : but how?? in the server.xml, i searched 80, : nothing found. i only run a server-u server, the port : is not 80...i didn't run IIS, or else... : any suggestion? thanks
| s******r 发帖数: 21 | 5 在server.xml中默认的HTTP端口是8080,查找8080改成80,就可以了。但是Tomcat并不建
议你用tomcat做web server。
【在 l****n 的大作中提到】 : i'm also thinking that maybe 80 is occupied already, : but how?? in the server.xml, i searched 80, : nothing found. i only run a server-u server, the port : is not 80...i didn't run IIS, or else... : any suggestion? thanks
| w*****h 发帖数: 139 | 6 You can configure Apache Server to automatically direct servlets/jsp codes
to Tomcat, and with port 80.
Check Tomcat setup guide, not easy though.
Install Apache and Tomcat:
Connect Apache to Tomcat:
a. Download module: webapp.so
b. copy to: apache/libexec
c. Make changes to httpd.conf:
LoadModule webapp_module libexec/mod_webapp.so
AddModule mod_webapp.c
WebAppConnection warpConnection warp localhost:8008
WebAppDeploy examples warpConnection /exam
【在 l****n 的大作中提到】 : hi, : the latest tomcat 4.0.3 also make the default port at 8080, : i have to type,for example,http://localhost:8080, in order : to access my file there. : of course, we wish to make it simple as just http://localhost, no : need to type 8080. : the default port should be 80. but after i change : it in the server.xml file, restart tomcat,there is : error in tomcat said something like jvm in use .blahblah, : i searched the document in the web, it's said i only
|
|