Troubleshooting
ECONNREFUSED
Make sure the server is up and that you've configured the .env file properly.
unsupported/unknown protocol version:
Make sure Node.js is updated to the latest LTS version (needed for newer versions of Minecraft)