@PressTpro That doesn't help, I've done that, And it still does the same thing.
turn off windows defender or whatever antivirus you have
*TemporarilyDon't forget about firewalls.
late but are you playing with a friend which isnt on the same wifi as you and is ur server ip set to anything but localhost