server IP should the private IP, not public
adding elsif case to use wildfly app servers as last default if there are wildfly instaces present