

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- 3,714 Views
Hi All,
kindly share about port off set value with detailed explanations .
Accepted Solutions


- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- 3,706 Views
Let's say you wanted to have 3 x Standalone Servers of JBoss EAP for some DevOps Reason.
1st Instance:
$ sudo -u jboss ./standalone.sh -Djboss.server.base.dir=/opt/jboss/standalone/
The management console at http://localhost:9990
2nd Instance:
$ sudo -u jboss /opt/jboss-eap-7.0/bin/standalone.sh -Djboss.server.base.dir=/opt/jboss/standalone2/ -Djboss.socket.binding.port-offset=10000
The management console at http://localhost:19990
3rd Instance:
$ sudo -u jboss /opt/jboss-eap-7.0/bin/standalone.sh -Djboss.server.base.dir=/opt/jboss/standalone3/ -Djboss.socket.binding.port-offset=10000
The management console at http://localhost:29990
This is just a useful parameter in JBoss EAP that you can set in order to avoid port conflicts on a system. In the above example, the 2nd and 3rd standalone instances will be listening on ports witht the offset i.e. 10000 ie. 19990 and 29990 accordingly.
Hope this helps.
Will


- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- 3,707 Views
Let's say you wanted to have 3 x Standalone Servers of JBoss EAP for some DevOps Reason.
1st Instance:
$ sudo -u jboss ./standalone.sh -Djboss.server.base.dir=/opt/jboss/standalone/
The management console at http://localhost:9990
2nd Instance:
$ sudo -u jboss /opt/jboss-eap-7.0/bin/standalone.sh -Djboss.server.base.dir=/opt/jboss/standalone2/ -Djboss.socket.binding.port-offset=10000
The management console at http://localhost:19990
3rd Instance:
$ sudo -u jboss /opt/jboss-eap-7.0/bin/standalone.sh -Djboss.server.base.dir=/opt/jboss/standalone3/ -Djboss.socket.binding.port-offset=10000
The management console at http://localhost:29990
This is just a useful parameter in JBoss EAP that you can set in order to avoid port conflicts on a system. In the above example, the 2nd and 3rd standalone instances will be listening on ports witht the offset i.e. 10000 ie. 19990 and 29990 accordingly.
Hope this helps.
Will


- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- 3,693 Views
hi @williamwlk,
thanks for share your valuable information .
i have one doubt regarding port offset value its automatically taken by OS or need to add/modify manually . could you please share your valuable informaton , soryy for late reply .