Modify the port number of JBoss

Source: Internet
Author: User
Tags jboss
Http://blog.csdn.net/ghost_t/article/details/5708991
JBoss version:
Jboss-5.1.0.GAjboss-6.0.0.Final Jboss-5.1.0.GA modification method:Open the % jboss_home % \ Server \ Default \ deploy \ jbossweb. Sar \ Server. xml file, find the following code, modify the port number Code: <! -- A HTTP/1.1 Connector on port 8080 -->
<Connector protocol = "HTTP/1.1" Port = "8080" address = "0.0.0.0"
Connectiontimeout = "20000" redirectport = "8443"/> Jboss-6.0.0.Final modification method:1. (Recommended Practice) Open % jboss_home % \ Server \ Default \ conf \ bindingservice. Beans \ META-INF \ bindings-jboss-beans.xml file, search 8080 and find the following code to modify the port property configuration's port number Code: <Bean class = "org. JBoss. Services. Binding. servicebindingmetadata">
<Property name = "servicename"> JBoss. Web: service = webserver </property>
<Property name = "bindingname"> httpconnector </property>
<Property name = "Port"> 8080 </property>
<Property name = "Description"> JBoss web HTTP connector socket; also drives the values for the HTTPS and AJP sockets </property>
</Bean> 2. open % jboss_home % \ Server \ Default \ deploy \ jbossweb. SAR \ Server. search for the XML file 8080 and find the following code, which will be $ {JBoss. web. HTTP. replace port} with the port number you want to modify Code: <! -- A HTTP/1.1 Connector on port 8080 -->
<Connector protocol = "HTTP/1.1" Port = "$ {JBoss. Web. http. Port}" address = "$ {JBoss. Bind. Address }"
Redirectport = "$ {JBoss. Web. HTTPS. Port}"/> More articles: Modify jboss5 default port number-Internal

Modify the port number of JBoss

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.