Your hosted server will have one (or more) IP addresses assigned to it.  CAS setup & usage requires knowledge of your PUBLIC IP. This guide will help you quickly find it.

The simplest way:

wget -qO - ipv4.icanhazip.com

Option 2: For Ubuntu (and other Debian derivatives), type on the command line:

hostname -I

Based on the aforementioned premise, THIS will list the public IP (only):

hostname -I | awk '{ print $1 }'

Option 3: Lastly, this method is yet another (more cumbersome) way to list all your server's IP addresses:

ifconfig | grep "inet addr:" | sed /:127/d | cut -f2 -d':' | cut -f1 -d' ' | head -n1

This file is required for email notifications (amongst other purposes):

/batm/config/hostname

and should contain your public IP (by itself). This can be quickly created with:

hostname -I | awk '{ print $1 }' > /batm/config/hostname

This file is required for the admin service to function:

/batm/config/network

and should contain your public IP. This can be quickly created with:

echo "public_ip="$( wget -qO - ipv4.icanhazip.com ) > /batm/config/network

NOTE: Digital Ocean (as of this writing) has problems with the pipe symbol ("|") when using the WEB CONSOLE.

The pipe "|" will be mistakenly converted to a ">" and the command will FAIL.

They are aware of this glitch and are working to resolve it with their vendors. In the meantime, they recommend that you use a regular SSH console to accomplish tasks & scripts involving pipes (as used in this article).