diff --git a/inc/remotesupport.class.php b/inc/remotesupport.class.php index 841fafc..e80b65b 100644 --- a/inc/remotesupport.class.php +++ b/inc/remotesupport.class.php @@ -22,7 +22,7 @@ class PluginRemotesupportRemotesupport extends CommonDBTM return true; } - $href = "https://" . $_SERVER['SERVER_ADDR'] . "/vnc.html?path=vnc%2F" . $a_computerextend['remote_addr'] . "&autoconnect=true&resize=scale&reconnect=true&show_dot=true"; + $href = "https://" . $_SERVER['SERVER_NAME'] . "/vnc.html?path=vnc%2F" . $a_computerextend['remote_addr'] . "&autoconnect=true&resize=scale&reconnect=true&show_dot=true"; $name = $a_computerextend['remote_addr']; } else { $href = "vnc://" . $item->fields["name"];