Hello, for my pet project with Unity i use UnityWebRequest Post request to communicate with a php file on an Apache server localy (my LAN) and everything works as expected. Then i decided to move the php file on an free internet web hosting service with a subdomain, and now i can't connect with Unity. UnityWebRequest Post gives an Generic/unknown HTTP error with Error code:403 when the url i POST at is: http://examplesubdom.server.com/filename.php , and Unknown Error with Error code: 0 when i post in Unity the url: https://examplesubdom.server.com/filename.php . Accessing the above urls in Firefox is ok and gives the expected results. If i replace the "examplesubdom.server.com" part with the ip of the host service (taken from netstat comand) i get a 403 Error code in Firefox.
Is there something i can do to connect the Unity app with the php file on the Internet? I have control of the server only through .htaccess file.
Thanks in advance....
↧