There are two options:
- You did not install correctly your system. You can verify it by connecting the service from within the server (using Terminal Services in Windows case). If it fails you should start exploring the event log and your application log.
- Someone is blocking your sessions (probably it is a firewall). You
can verify it by running netstat -na from you client command line, and
check for SYN_SENT lines in the output. If it's attached to the server
IP and port that your service uses, you definitely have firewall in you
way. There are several options who is the blocker and how to solve it:
- Your computer personal firewall. Probability: Low; Verification: try connecting from another computer.
- Your company firewall. Probability: Medium-Low; Verification: try connecting from another computer which is outside your company network (your favorite neighborhood cafe can be great).
- Your cloud provider firewall. Probability: High; Verification: if it's Amazon AWS, login to the AWS Management Console, verify the Security Group that your instance is linked to, and verify the Security Group rules.
- Your server firewall: Probability: High (if you are using Windows); Verification: check the server firewall configuration that it allows incoming connections in the relevant ports.