I know there are many people already asked this , but this people mostly forgot password of blocked by firewall which I have none of this situations .
I am developing with php , and I need to connect to remote database to let all my team work on it .
localhost was just going fine , but when I tried to switch it gave me this error
No connection could be made because the target machine actively refused it.
and this is my code where I want to connect to .nf.biz database :
Well this might be late but for future visitors,
I found out back then that biz.nf refuses any connections to it's DB from outside source which means that only the web-apps hosted on biz.nf have the access to their DB other than that you will get rejected.