Search Unity

  1. We are migrating the Unity Forums to Unity Discussions by the end of July. Read our announcement for more information and let us know if you have any questions.
    Dismiss Notice
  2. Dismiss Notice

Question WebGL build on unity play can not connect to DGS

Discussion in 'Netcode for GameObjects' started by JamesW940516, Oct 26, 2023.

  1. JamesW940516


    May 19, 2023
    Hope you are doing well
    My netcode is working well WebGL client build with Dedicated Server Build in my local
    When I upload the webgl build to, the client webgl build can not connect to DGS
    Is this related with security, port, wss ... or sth? Here are some settings for me game


    This is network Manager setting


    This is working well


    this is not working


    Please somebody help me

    1) [Use Encryption] should be enabled?
    2) I use 443 and 80 for test purpose, now. Is that correct? Should I use another random port when I make production build?