Use the create-iiop-listener subcommand in remote mode to create an IIOP listener.
Ensure that the server is running.
Remote subcommands require a running server.
Create an IIOP listener by using the create-iiop-listener(1) subcommand.
Information about the properties for the subcommand is included in this help page.
To apply your changes, restart GlassFish Server.
See To Restart a Domain.
This example creates an IIOP listener named sample_iiop_listener.
asadmin> create-iiop-listener --listeneraddress 192.168.1.100 --iiopport 1400 sample_iiop_listener Command create-iiop-listener executed successfully.
You can also view the full syntax and options of the subcommand by typing asadmin help create-iiop-listener at the command line.