There are 3 packages default, slim, all under jboss server. Each package has a conf/jboss-service.xml file, which defines 4 different port configurations by default (ports-default, ports-01, ports -02, ports-03), which means that by default, four JBoss instances can be deployed on the same machine.
ports-default: do not auto-increment
ports-01: auto increment by 100
ports-02: auto increment by 200
ports-03: auto increment by 300
Example:
port-default 8080
ports-01 8180
ports-02 8280
ports-03 8380
When accessing, note that it is not the port number configured in the file