Unity PHOTON SERVER WebGL Error

Options
hi all,
im developing a simple host-join unity webgl game using photon selfhosted server i have developed this game and tested on pc platform(.exe) and every thing goes well but when i switch to webgl doesnt work and get error massage + cs script :

**************************************************************


UriFormatException: URI scheme must start with a letter and must consist of one of alphabet, digits, '+', '-' or '.' character.
System.Uri.Parse (UriKind kind, System.String uriString)
System.Uri.ParseUri (UriKind kind)
System.Uri..ctor (System.String uriString, Boolean dontEscape)
System.Uri..ctor (System.String uriString)
ExitGames.Client.Photon.SocketWebTcp.Connect () (at Assets/Photon Unity Networking/Plugins/PhotonNetwork/SocketWebTcp.cs:103)
ExitGames.Client.Photon.TPeer.Connect (System.String serverAddress, System.String appID, System.Object customData)
ExitGames.Client.Photon.PhotonPeer.Connect (System.String serverAddress, System.String applicationName, System.Object custom)
NetworkingPeer.Connect (System.String serverAddress, ServerConnection type) (at Assets/Photon Unity Networking/Plugins/PhotonNetwork/NetworkingPeer.cs:574)
PhotonNetwork.ConnectUsingSettings (System.String gameVersion) (at Assets/Photon Unity Networking/Plugins/PhotonNetwork/PhotonNetwork.cs:1254)
connect.Start () (at Assets/connect.cs:11)
******************************************************************************************************************************************************************************************************************************************************************
Protocol switch from: Udp to: WebSocketSecure.
UnityEngine.Debug:LogWarning(Object)
NetworkingPeer:SetupProtocol(ServerConnection) (at Assets/Photon Unity Networking/Plugins/PhotonNetwork/NetworkingPeer.cs:786)
NetworkingPeer:Connect(String, ServerConnection) (at Assets/Photon Unity Networking/Plugins/PhotonNetwork/NetworkingPeer.cs:571)
PhotonNetwork:ConnectUsingSettings(String) (at Assets/Photon Unity Networking/Plugins/PhotonNetwork/PhotonNetwork.cs:1254)
connect:Start() (at Assets/connect.cs:11)
**************************************************************************************************************************************************************************************************************************************************************

*********************************************************************
connect.cs script
*****************************************************************
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;

public class connect : MonoBehaviour {

private PhotonView masterView;

void Start () {
PhotonNetwork.ConnectUsingSettings ("V1.0");
PhotonNetwork.automaticallySyncScene = true;
}



void OnGUI (){
GUILayout.Label (PhotonNetwork.connectionStateDetailed.ToString());
}

public void HostRandomGame(){
PhotonNetwork.automaticallySyncScene = true;
PhotonNetwork.CreateRoom (null);
PhotonNetwork.LoadLevel ("level1");
}

public void JoinRandomGame(){
PhotonNetwork.automaticallySyncScene = true;
PhotonNetwork.JoinRandomRoom ();
Debug.Log ("joined");

}

//PHOTON READS THIS IF WE FAIL TO JOIN A AROOM!!//


public void OnPhotonRandomJoinFailed(){
Debug.Log ("SERVER OFF LINE!!!");
}

void OnJoinedLobby(){
Debug.Log ("joined lobby!!!");
}

}
****************************


Thank you.