Retrieving JBoss EAP 6/7 running port via JBoss CLI

Solution Verified - Updated -

Issue

We are automating the profiles creation, server-groups, and server in a JBoss EAP environment. As we are changing the off-set port and using AJP connection we need to retrieve the port that's being used so we may create an AJP proxy in the servers. Until now I was able to identify the server-group binding and the offset. Is there any way to retrieve the ports being used by the server via CLI?

Environment

  • Red Hat JBoss Enterprise Application Platform (EAP)
    • 6.x
    • 7.x

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content