`
SilverRing
  • 浏览: 71314 次
社区版块
存档分类
最新评论

[JBoss 4.2] change the default 8080 port

阅读更多
1. go to [Jboss home]\server\default\deploy\jboss-web.deployer and find server.xml

2. modify

<Connector port="8080" address="${jboss.bind.address}"    
         maxThreads="250" maxHttpHeaderSize="8192"
         emptySessionPath="true" protocol="HTTP/1.1"
         enableLookups="false" redirectPort="8443" acceptCount="100"
         connectionTimeout="20000" disableUploadTimeout="true" />


to

<Connector port="8081" address="${jboss.bind.address}"    
         maxThreads="250" maxHttpHeaderSize="8192"
         emptySessionPath="true" protocol="HTTP/1.1"
         enableLookups="false" redirectPort="8443" acceptCount="100"
         connectionTimeout="20000" disableUploadTimeout="true" />

分享到:
评论
1 楼 SilverRing 2009-08-03  
For tomcat, it's at {TomcatHome}/conf/server.xml

相关推荐

Global site tag (gtag.js) - Google Analytics