//config.php, you can all these on the details page for your instance $server = "192.168.1.14"; $port = 1883; $username = ""; $password = ""; Fail or time out