Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. We have updated the language to the Editor Terms based on feedback from our employees and community. Learn more.
    Dismiss Notice
  3. Join us on November 16th, 2023, between 1 pm and 9 pm CET for Ask the Experts Online on Discord and on Unity Discussions.
    Dismiss Notice

WebGL & Developpment server

Discussion in 'Unity 5 Pre-order Beta' started by Xaurrien, Nov 13, 2014.

  1. Xaurrien

    Xaurrien

    Joined:
    Jul 2, 2012
    Posts:
    20
    Hi,

    I am currently playing with the new WebGL export.

    I have noticed that if I hit "build and run", then at the end of the process, Unity will launch my default browser on that kind of URL : http://localhost:52519/.

    But my browser (Chrome) can't connect and return this error : ERR_CONNECTION_REFUSED.

    So maybe the port is used by other programs on my computer or maybe my firewall doesn't help.

    Is there a way to run this server on another port ? Where can I find the server exe in the Unity installation folder (in Windows) ?
     
  2. jonas-echterhoff

    jonas-echterhoff

    Unity Technologies

    Joined:
    Aug 18, 2005
    Posts:
    1,666
    The development web server used for WebGL publishing seems to be accidentally broken in b12. You need to host the files yourself or test locally with Firefox until we fix this.
     
  3. Xaurrien

    Xaurrien

    Joined:
    Jul 2, 2012
    Posts:
    20
    Ok, thanks