random IP keeps trying to join but fails

Im hosting a 1.19.3 modded personal server from my old pc and someone/bot keeps attempting to join and is spamming my console full of 'rejected vanilla connection' 'disconnecting vanilla conection attempt'

I swapped the server to vanilla to see if they'd join so i could ban their IP address but that does nothing as they're now in a loop of '...packet 2/0 (abb) was larger than i expected...' is there a way to put a stop to this without sacraficing my server being offline?
Screenshot_20230626-223544_Discord.jpg
Was this page helpful?