It is always possible this is in code I have added to the CLI so feel free to assign it back if that turns out to be the case
- Start wildfly-core
- Start the CLI and connect to the local server, either with -c or connect command.
- Shut down server with Ctrl-C and start again
- Enter command in CLI
Restarting the CLI it is able to connect.