Hello Hanna,

Did you add http:// (or https:// if you use a secure line) in front of the IP 
address?

On the demo instance this is a bit confusing as the examples do not show that 
but it is required for it to work correctly. 

Regards, 

Mark
________________________________________
From: Dhis2-devs [dhis2-devs-bounces+markpo=ifi.uio...@lists.launchpad.net] on 
behalf of Hannan Khan [hann...@gmail.com]
Sent: 27 August 2015 08:29
To: DHIS 2 developers
Subject: [Dhis2-devs] Web portal CORS/preflight problem

Dear Experts

I am facing problem to creating Web Portal, facing problem CORS.
First I try portal from 103.247.238.68 not working and then put this address in 
the white list of the dhis2 server at 
103.247.238.68:8080<http://103.247.238.68:8080>. But but still having the same 
problem the error message is 'which is disallowed for cross-origin requests 
that require preflight'.

Now how I resolve this? The script is similar as on the developer guide, page 
49.

Please advice.

Regards

Hannan

_______________________________________________
Mailing list: https://launchpad.net/~dhis2-devs
Post to     : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp

Reply via email to