Connection refused ---- What is wrong

Hello. Please I need your help to understand what is wrong in this statement
$con = mysqli_connect(“localhost:3306”,“id6734811_asoft”,“u”,“p”);

u is the user name
p is the password
I just change and very password. What is wrong ?
This is my site: https://andrasoft.000webhostapp.com/test01.php
Thanks !

Hi !

Use only localhost as host.

It’s not working !!! I fix it with PDO objects