Can't connect to a friend's server

Me and my friend tried to make a server and only the host can join the server.
We are using hamachi

[1/9/2023 22:08:53] [INFO] Connecting to server
[1/9/2023 22:08:55] [ERROR] Client: connect failed! Error code: 10061
[1/9/2023 22:08:58] [WARN] Failed to close socket!

hi did you figure it out?