diff --git a/pandora_console/ws.php b/pandora_console/ws.php index c55e884d24..798381b69d 100644 --- a/pandora_console/ws.php +++ b/pandora_console/ws.php @@ -116,7 +116,7 @@ if (substr($os, 0, 3) !== 'win') { // Common. $base_cmd = 'nohup "'.$config['gotty'].'" '.$gotty_creds; - $base_cmd .= ' --permit-arguments -a 127.0.0.1 -w '; + $base_cmd .= ' --permit-arguments -a '.$config['gotty_host'].' -w '; // Launch gotty - SSH. $cmd = $base_cmd.' --port '.$config['gotty_ssh_port'];