Domain name not getting connected to droplet but ip with port number does
I am unable to get my domain name connected to my droplet which is hosting an angular 2 application. I am able to ping the domain name and see the reply with proper ip address in it. I am also able to open the application with ip address like http://xxx.xxx.xx.x:8080 but trying with my domain name like http://mydomain.com returns error -
This site can’t be reached refused to connect.
Any help is much appreciated.
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.