开发者

Deploy a project in tomcat 6

I'm trying to开发者_开发问答 deploy a war file onto my server which is tomcat 6 and it runs on a linux machine. My project runs if i give the url with the port number eg: http://192.168.1.8:8080/uctc but it fails to run if i run it without the port number eg ://192.168.1.8/uctc ...can anyone tell me how to run my website without the port number??


8080 is default tomcat port, so configure your tomcat server to use 80 port other than 8080. see: http://www.klawitter.de/tomcat80.html


Check in server.xml... there is an entry similar to Connector port="8080".. change the 8080 to just 80 and save. Then restart the tomcat service

This is assuming you're not already running another service on port 80 .

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜