How to Change Jboss Server's Default Http Port
If you have installed jboss server in: C:\jboss-5.1.0\ then here's what you should do to change the default port (8080) to any port of y...
https://www.czetsuyatech.com/2011/01/wildfly-change-default-http-port.html
If you have installed jboss server in: C:\jboss-5.1.0\ then here's what you should do to change the default port (8080) to any port of your choice.
1.) Open the file, C:\jboss-5.1.0\server\default\conf\bindingservice.beans\META-INF\bindings-jboss-beans.xml
2.) In approximately line 280 change the port number as you desire:
1.) Open the file, C:\jboss-5.1.0\server\default\conf\bindingservice.beans\META-INF\bindings-jboss-beans.xml
2.) In approximately line 280 change the port number as you desire:
<bean class="org.jboss.services.binding.ServiceBindingMetadata"> <property name="serviceName">jboss.web:service=WebServer</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> <!-- Inject a XSLT transform configuration (see below) that describes how to transform server.xml If the binding value request doesn't require an XSL Transform, this config will be ignored. --> <property name="serviceBindingValueSourceConfig"><inject bean="JBossWebConnectorXSLTConfig"/></property> </bean>
Post a Comment