Cannot connect ERROR:10061

Hey I’m trying to play with my friends but I keep getting error 10061
and failed to close socket. I also used portchecktool and I got a timed out on port 30814
I have inbound and outbound rules to allow 30814 but I don’t know why it won’t work i use LogMeIn Hamachi