How do I alter an specific port binding using JBoss CLI?

Solution Verified - Updated -

Issue

  • How do I alter a port within a socket binding via CLI?
  • How do I change ports within EAP 6 via CLI?
  • Hello, we want to use port 9081 for our HTTP application instead of the default port 8080. This can be done by changing the port in the standalone.xml file. What is the CLI command to make this change?

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