What does your logs say? Does the client hang or something when it tries to connect to your dedicated server? Are you trying to connect via public IP?
If you are, you probably need to setup port forwarding. Without logs and further information, we can’t help you. At least paste your server/client logs