Search Unity

  1. Megacity Metro Demo now available. Download now.
    Dismiss Notice
  2. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

crossdomain.xml localhost problem

Discussion in 'Multiplayer' started by Nemanja_DarkOne, Oct 15, 2014.

  1. Nemanja_DarkOne

    Nemanja_DarkOne

    Joined:
    Dec 11, 2013
    Posts:
    8
    I have read all posts on this topic on the forum but it did not help so I am opening my Thread in hope that someone can help me.

    This is the problem my team is currently developing a game for FB. The game needs to communicate with my database I am using PHP for that and WWW from the Unity side. Every time I get the error

    PHP is on local host (WAMP) and crossdomain.xml is in the root.

    this is from Editor.log

    When we test this on live server it all works but we need it on localhost so we can test all before we go live

    crossdomain.xml
    This crossdomain.xml is on our live server also.
     
  2. Nemanja_DarkOne

    Nemanja_DarkOne

    Joined:
    Dec 11, 2013
    Posts:
    8
    We got a small server to pass this problem but 2 days ago I tried again and fix the problem.

    Problem was proxy server that we set up if you try to hit wampserver or Xampp server on localhost while on proxy you will get the error so we turned off proxy and it all works fine now on local machines. Hope that this solution will help someone in the future