How to run my server through a cloudflare tunnel

hi, trying to get a beammp server running through cloudflare tunnels so that my friend in the netherlands can connect without using something like hamachi, when trying to connect to it with the tunnel set up, i get a socket closed error with the code 3, any help is appreciatied

Is the IP set to :: in the server config? If not please set it to that and try again.