Maybe when you were installing different packages on your windows instance you would have changed the configuration of inbound rules in your security group. Verify the inbound and outbound rules in your security group attached to your instance. That is the only probable reason for you not being able to connect to your Instance.