Wildfly connection refused localhost. sh can be used: $ . sh --controller= [ip]:9990 and then . ...