# IPv6

## Overview

There may be situations where instances only have IPv6 routing available. HPE Morpheus Enterprise fully supports IPv6 for the appliance and agent comms.

To enable IPv6 listener on the HPE Morpheus Enterprise appliance, you must modify the NGINX listeners.

## Configuring NGINX Listeners

### Procedure

1. Confirm IPv6 is enabled and IP address is applied within the Morpheus underlying OS.
2. Modify the `/opt/morpheus/embedded/nginx/conf/sites-available/morpheus.conf` file, and add the following listerning under the server block at the top: 

   ```
   ```
   listen [::]:80;
   ```
   ```
3. Modify the `/opt/morpheus/embedded/nginx/conf/sites-available/morpheus-ssl.conf` file, and add the following listerning under the server block at the top: 

   ```
   ```
   listen [::]:443 ssl;
   ```
   ```
4. Restart the NGINX service: 

   ```
   ```
   morpheus-ctl restart nginx  
   ok: run: nginx: (pid 47868) 0s
   ```
   ```
5. The site should now be resolvable via IPv6. To test you should be able to do the following: 

   ```
   ```
   curl -k -6 https://[<IPv6 Address>]/ping  
   MORPHEUS PING
   ```
   ```
