Server and tunnel is set-up but cannot join

so basically I have set up the server correctly and I was even able to join, except that the server basically disconnects me and afterwards I cannot join or it repeats the same issue. Is there any fix to this? I am confident that I have set this up properly and I have used playit before for my bedrock servers but now I am unable to even set up a regular server.

what error code do you get?

Or try to disable firewall, change dns to Google DNS, or try to recreate tunnel