由买买提看人间百态

boards

本页内容为未名空间相应帖子的节选和存档,一周内的贴子最多显示50字,超过一周显示500字 访问原贴
BuildingWeb版 - 急,TOMCAT4.0.3 上怎么把default port设成80?
相关主题
大家想开个人网站的互相帮助一下如何?我可以提供server+bandwidth有用java servlet/jsp+tomcat/apache的么?
windows apache tomcat无法被别的机子访问求网站建设,维护项目
[转载] How to start IIS 5.0 in windows 2000 professional version.请教个安装IIS的问题
How to set a global variable in three web pages?[转载] Servlets:参数中有等号的情况怎么处理?
[转载] How to register a servlet in Tomcat + Apache?Re: One Simple Apache Question
Please help me on these concepts.紧急请教,初级问题。
separate Web server application server to two server求助!
IIS6.0Apache 与persnoal web server冲突?
相关话题的讨论汇总
话题: tomcat话题: port话题: 8080话题: 80话题: apache
进入BuildingWeb版参与讨论
1 (共1页)
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

1 (共1页)
进入BuildingWeb版参与讨论
相关主题
Apache 与persnoal web server冲突?[转载] How to register a servlet in Tomcat + Apache?
[转载] Dos Apache support Java ServletPlease help me on these concepts.
Help wanted: tomcatseparate Web server application server to two server
ASP problem in IIS 5.0IIS6.0
大家想开个人网站的互相帮助一下如何?我可以提供server+bandwidth有用java servlet/jsp+tomcat/apache的么?
windows apache tomcat无法被别的机子访问求网站建设,维护项目
[转载] How to start IIS 5.0 in windows 2000 professional version.请教个安装IIS的问题
How to set a global variable in three web pages?[转载] Servlets:参数中有等号的情况怎么处理?
相关话题的讨论汇总
话题: tomcat话题: port话题: 8080话题: 80话题: apache