Cannot connect to my server with PlayIt.gg

I’m running a batch file that’s running a Minecraft server, and I followed the official tutorial of setting up the Spigot plugin for my server to make it public. Followed this tutorial, tried to connect and I get the error Connection refused: no further information.

How do I fix this?