Yes. systemEnvironment.getListenHost() & systemEnvironment.getServerPort() may be?

Also why not add username & password for 'admin' (admin:badger) in the message?