#### To create a JMS host

The Application Server expects there to be exactly one JMS host, whose default name is `default_JMS_host`. It is possible to create additional hosts, but the Application Server has no way of knowing about them.

1. In the tree component, expand the Configuration node.

2. Expand the Java Message Service node.

3. Select the JMS Hosts node.

4. On the JMS Hosts page, click New. The Create JMS Host page appears.

5. In the Name field, type the name of the host. For example:

       NewJmsHost

6. In the Host field, type the name or Internet Protocol (IP) address of the system where the JMS host will run (`localhost` or the name of the local or remote system).

7. In the Port field, type the port number of the JMS service.

   Change this field only if the JMS service to be used is running on a non-default port. (The default port is 7676.)

8. In the Admin Username and Admin Password fields, type the Message Queue broker user name and password.

   These are different from the Application Server user name and password. Edit these fields only if the Message Queue broker values have been changed using the MQ-install-dir`/imq/bin/imqusermgr` command. The default values are `admin` and `admin`.

9. Click OK.

##### More Information
Equivalent asadmin command

`create-jms-host`

##### See Also

- To edit a JMS host

- To delete a JMS host

- To configure general properties for the JMS provider