Friend cant connect

I got a new pc so I put my beammp server on a usb drive and transferred it to the new pc. I set everything up and i can join but my friend cant. It says online in the server list but as soon as he joins it says connection failed and he doesn’t even pop up in the logs