[jboss-as7-dev] CLI - change IP address

Rostislav Svoboda rsvoboda at redhat.com
Thu Jul 14 09:19:08 EDT 2011


Hi guys.

I was trying to change bind address on AS7 (standalone) using CLI.

I did it by defining new interface and changing default-interface attribute of socket-binding-group.
{code}
/interface=publicIP:add(criteria=[("inet-address" => "10.34.3.154")])
/socket-binding-group=standard-sockets:write-attribute(name="default-interface", value="publicIP")
:reload
{code}

How can I edit directly default interface named "public" which uses 127.0.0.1 ?

Cheers,
Rosta


More information about the jboss-as7-dev mailing list