Hello,
Hope you are doing well...!!
Please check with the below steps.
1. Check with the Port you are using is correct.
2. Check with the Network configuration.
3. If port is incorrect try to resolve it via VNC.
4. Check with the Firewall connection.
Thank you